aboutsummaryrefslogtreecommitdiff
path: root/support/testing/tests/toolchain/test_external.py
diff options
context:
space:
mode:
Diffstat (limited to 'support/testing/tests/toolchain/test_external.py')
-rw-r--r--support/testing/tests/toolchain/test_external.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/support/testing/tests/toolchain/test_external.py b/support/testing/tests/toolchain/test_external.py
index ad2f56a20e..072cf0048e 100644
--- a/support/testing/tests/toolchain/test_external.py
+++ b/support/testing/tests/toolchain/test_external.py
@@ -7,6 +7,7 @@ BASIC_CONFIG = \
# BR2_TARGET_ROOTFS_TAR is not set
"""
+
def has_broken_links(path):
for root, dirs, files in os.walk(path):
for f in files:
@@ -15,6 +16,7 @@ def has_broken_links(path):
return True
return False
+
class TestExternalToolchain(infra.basetest.BRTest):
def common_check(self):
# Check for broken symlinks
@@ -30,6 +32,7 @@ class TestExternalToolchain(infra.basetest.BRTest):
interp_path = os.path.join(self.builddir, "target", interp[1:])
self.assertTrue(os.path.exists(interp_path))
+
class TestExternalToolchainSourceryArmv4(TestExternalToolchain):
config = BASIC_CONFIG + \
"""
@@ -61,6 +64,7 @@ class TestExternalToolchainSourceryArmv4(TestExternalToolchain):
options=["-initrd", img])
self.emulator.login()
+
class TestExternalToolchainSourceryArmv5(TestExternalToolchain):
config = BASIC_CONFIG + \
"""
@@ -86,6 +90,7 @@ class TestExternalToolchainSourceryArmv5(TestExternalToolchain):
options=["-initrd", img])
self.emulator.login()
+
class TestExternalToolchainSourceryArmv7(TestExternalToolchain):
config = BASIC_CONFIG + \
"""
@@ -124,6 +129,7 @@ class TestExternalToolchainSourceryArmv7(TestExternalToolchain):
options=["-initrd", img])
self.emulator.login()
+
class TestExternalToolchainLinaroArm(TestExternalToolchain):
config = BASIC_CONFIG + \
"""
@@ -155,6 +161,7 @@ class TestExternalToolchainLinaroArm(TestExternalToolchain):
options=["-initrd", img])
self.emulator.login()
+
class TestExternalToolchainBuildrootMusl(TestExternalToolchain):
config = BASIC_CONFIG + \
"""
@@ -180,6 +187,7 @@ class TestExternalToolchainBuildrootMusl(TestExternalToolchain):
options=["-initrd", img])
self.emulator.login()
+
class TestExternalToolchainCtngMusl(TestExternalToolchain):
config = BASIC_CONFIG + \
"""
@@ -206,6 +214,7 @@ class TestExternalToolchainCtngMusl(TestExternalToolchain):
options=["-initrd", img])
self.emulator.login()
+
class TestExternalToolchainBuildrootuClibc(TestExternalToolchain):
config = BASIC_CONFIG + \
"""
@@ -230,6 +239,7 @@ class TestExternalToolchainBuildrootuClibc(TestExternalToolchain):
options=["-initrd", img])
self.emulator.login()
+
class TestExternalToolchainCCache(TestExternalToolchainBuildrootuClibc):
extraconfig = \
"""