mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
support/testing/tests/toolchain/test_external_synopsys.py: new test
Test the 6 combinations of Synopsys toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
0f79a555b8
commit
ad99ad8e8a
@@ -3209,6 +3209,7 @@ F: support/testing/tests/package/test_python_flask_expects_json.py
|
||||
F: support/testing/tests/package/test_python_git.py
|
||||
F: support/testing/tests/package/test_python_unittest_xml_reporting.py
|
||||
F: support/testing/tests/toolchain/test_external_arm.py
|
||||
F: support/testing/tests/toolchain/test_external_synopsys.py
|
||||
F: toolchain/
|
||||
|
||||
N: Timo Ketola <timo.ketola@exertus.fi>
|
||||
|
||||
91
support/testing/tests/toolchain/test_external_synopsys.py
Normal file
91
support/testing/tests/toolchain/test_external_synopsys.py
Normal file
@@ -0,0 +1,91 @@
|
||||
from tests.toolchain.test_external import TestExternalToolchain
|
||||
|
||||
|
||||
class TestExternalToolchainSynopsysArc700LE(TestExternalToolchain):
|
||||
config = """
|
||||
BR2_arcle=y
|
||||
BR2_arc770d=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
toolchain_prefix = "arc-linux"
|
||||
|
||||
def test_run(self):
|
||||
TestExternalToolchain.common_check(self)
|
||||
|
||||
|
||||
class TestExternalToolchainSynopsysArc700BE(TestExternalToolchain):
|
||||
config = """
|
||||
BR2_arceb=y
|
||||
BR2_arc770d=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
toolchain_prefix = "arceb-linux"
|
||||
|
||||
def test_run(self):
|
||||
TestExternalToolchain.common_check(self)
|
||||
|
||||
|
||||
class TestExternalToolchainSynopsysArcHSGlibcLE(TestExternalToolchain):
|
||||
config = """
|
||||
BR2_arcle=y
|
||||
BR2_archs38_full=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
toolchain_prefix = "arc-linux"
|
||||
|
||||
def test_run(self):
|
||||
TestExternalToolchain.common_check(self)
|
||||
|
||||
|
||||
class TestExternalToolchainSynopsysArcHSGlibcBE(TestExternalToolchain):
|
||||
config = """
|
||||
BR2_arceb=y
|
||||
BR2_archs38_full=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
toolchain_prefix = "arceb-linux"
|
||||
|
||||
def test_run(self):
|
||||
TestExternalToolchain.common_check(self)
|
||||
|
||||
|
||||
class TestExternalToolchainSynopsysArcHSuClibcLE(TestExternalToolchain):
|
||||
config = """
|
||||
BR2_arcle=y
|
||||
BR2_archs38_full=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_UCLIBC=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
toolchain_prefix = "arc-linux"
|
||||
|
||||
def test_run(self):
|
||||
TestExternalToolchain.common_check(self)
|
||||
|
||||
|
||||
class TestExternalToolchainSynopsysArcHSuClibcBE(TestExternalToolchain):
|
||||
config = """
|
||||
BR2_arceb=y
|
||||
BR2_archs38_full=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_UCLIBC=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
toolchain_prefix = "arceb-linux"
|
||||
|
||||
def test_run(self):
|
||||
TestExternalToolchain.common_check(self)
|
||||
Reference in New Issue
Block a user