summaryrefslogtreecommitdiffstats
path: root/support/testing/tests/fs/test_ext.py
diff options
context:
space:
mode:
authorRicardo Martincoski <ricardo.martincoski@gmail.com>2017-10-05 18:42:08 -0300
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-10-06 18:56:06 +0200
commit2927f412be6fd52961a2cd9aaed203d57609eef9 (patch)
tree4ff3318bea2484a6850854aaa48a62c40bf69b0a /support/testing/tests/fs/test_ext.py
parent4a1d220d9eeebd8394a190c4d82a00139c4baa51 (diff)
downloadbuildroot-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/fs/test_ext.py')
-rw-r--r--support/testing/tests/fs/test_ext.py50
1 files changed, 25 insertions, 25 deletions
diff --git a/support/testing/tests/fs/test_ext.py b/support/testing/tests/fs/test_ext.py
index 0832ba4ce2..49bce45dc8 100644
--- a/support/testing/tests/fs/test_ext.py
+++ b/support/testing/tests/fs/test_ext.py
@@ -39,12 +39,12 @@ def boot_img_and_check_fs_type(emulator, builddir, fs_type):
class TestExt2(infra.basetest.BRTest):
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
-"""
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_2r0=y
-BR2_TARGET_ROOTFS_EXT2_LABEL="foobaz"
-# BR2_TARGET_ROOTFS_TAR is not set
-"""
+ """
+ BR2_TARGET_ROOTFS_EXT2=y
+ BR2_TARGET_ROOTFS_EXT2_2r0=y
+ BR2_TARGET_ROOTFS_EXT2_LABEL="foobaz"
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
def test_run(self):
out = dumpe2fs_run(self.builddir, "rootfs.ext2")
@@ -57,12 +57,12 @@ BR2_TARGET_ROOTFS_EXT2_LABEL="foobaz"
class TestExt2r1(infra.basetest.BRTest):
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
-"""
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_2r1=y
-BR2_TARGET_ROOTFS_EXT2_LABEL="foobar"
-# BR2_TARGET_ROOTFS_TAR is not set
-"""
+ """
+ BR2_TARGET_ROOTFS_EXT2=y
+ BR2_TARGET_ROOTFS_EXT2_2r1=y
+ BR2_TARGET_ROOTFS_EXT2_LABEL="foobar"
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
def test_run(self):
out = dumpe2fs_run(self.builddir, "rootfs.ext2")
@@ -76,11 +76,11 @@ BR2_TARGET_ROOTFS_EXT2_LABEL="foobar"
class TestExt3(infra.basetest.BRTest):
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
-"""
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_3=y
-# BR2_TARGET_ROOTFS_TAR is not set
-"""
+ """
+ BR2_TARGET_ROOTFS_EXT2=y
+ BR2_TARGET_ROOTFS_EXT2_3=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
def test_run(self):
out = dumpe2fs_run(self.builddir, "rootfs.ext3")
@@ -94,14 +94,14 @@ BR2_TARGET_ROOTFS_EXT2_3=y
class TestExt4(infra.basetest.BRTest):
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
-"""
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_4=y
-BR2_TARGET_ROOTFS_EXT2_SIZE="16384"
-BR2_TARGET_ROOTFS_EXT2_INODES=3000
-BR2_TARGET_ROOTFS_EXT2_RESBLKS=10
-# BR2_TARGET_ROOTFS_TAR is not set
-"""
+ """
+ BR2_TARGET_ROOTFS_EXT2=y
+ BR2_TARGET_ROOTFS_EXT2_4=y
+ BR2_TARGET_ROOTFS_EXT2_SIZE="16384"
+ BR2_TARGET_ROOTFS_EXT2_INODES=3000
+ BR2_TARGET_ROOTFS_EXT2_RESBLKS=10
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
def test_run(self):
out = dumpe2fs_run(self.builddir, "rootfs.ext4")
OpenPOWER on IntegriCloud