diff options
author | Ricardo Martincoski <ricardo.martincoski@gmail.com> | 2017-10-05 18:42:08 -0300 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-10-06 18:56:06 +0200 |
commit | 2927f412be6fd52961a2cd9aaed203d57609eef9 (patch) | |
tree | 4ff3318bea2484a6850854aaa48a62c40bf69b0a /support/testing/tests/package/test_python.py | |
parent | 4a1d220d9eeebd8394a190c4d82a00139c4baa51 (diff) | |
download | buildroot-2927f412be6fd52961a2cd9aaed203d57609eef9.tar.gz buildroot-2927f412be6fd52961a2cd9aaed203d57609eef9.zip |
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 <ricardo.martincoski@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support/testing/tests/package/test_python.py')
-rw-r--r-- | support/testing/tests/package/test_python.py | 20 |
1 files changed, 10 insertions, 10 deletions
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") |