From 2927f412be6fd52961a2cd9aaed203d57609eef9 Mon Sep 17 00:00:00 2001 From: Ricardo Martincoski Date: Thu, 5 Oct 2017 18:42:08 -0300 Subject: support/testing: standardize defconfig fragments style Change all defconfig fragments to take advantage of "cf3cd4388a support/tests: allow properly indented config fragment". Make each defconfig fragment: - start after a backslash; - be declared as a multi-line string literal; - be indented one level more than the variable that contains it. Signed-off-by: Ricardo Martincoski Acked-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- support/testing/tests/package/test_python.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'support/testing/tests/package/test_python.py') diff --git a/support/testing/tests/package/test_python.py b/support/testing/tests/package/test_python.py index bddf09ddbc..79773fff63 100644 --- a/support/testing/tests/package/test_python.py +++ b/support/testing/tests/package/test_python.py @@ -4,10 +4,10 @@ import infra.basetest class TestPythonBase(infra.basetest.BRTest): config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ -""" -BR2_TARGET_ROOTFS_CPIO=y -# BR2_TARGET_ROOTFS_TAR is not set -""" + """ + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ interpreter = "python" def login(self): @@ -42,9 +42,9 @@ BR2_TARGET_ROOTFS_CPIO=y class TestPython2(TestPythonBase): config = TestPythonBase.config + \ -""" -BR2_PACKAGE_PYTHON=y -""" + """ + BR2_PACKAGE_PYTHON=y + """ def test_run(self): self.login() self.version_test("Python 2") @@ -54,9 +54,9 @@ BR2_PACKAGE_PYTHON=y class TestPython3(TestPythonBase): config = TestPythonBase.config + \ -""" -BR2_PACKAGE_PYTHON3=y -""" + """ + BR2_PACKAGE_PYTHON3=y + """ def test_run(self): self.login() self.version_test("Python 3") -- cgit v1.2.3