mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
support/testing/tests/toolchain/test_external_arm.py: new test
Test the 3 ARM toolchains: ARM, AArch64 and AArch64 BE. 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
4baaf07305
commit
0f79a555b8
@@ -3208,6 +3208,7 @@ F: support/testing/tests/package/test_python_flask.py
|
|||||||
F: support/testing/tests/package/test_python_flask_expects_json.py
|
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_git.py
|
||||||
F: support/testing/tests/package/test_python_unittest_xml_reporting.py
|
F: support/testing/tests/package/test_python_unittest_xml_reporting.py
|
||||||
|
F: support/testing/tests/toolchain/test_external_arm.py
|
||||||
F: toolchain/
|
F: toolchain/
|
||||||
|
|
||||||
N: Timo Ketola <timo.ketola@exertus.fi>
|
N: Timo Ketola <timo.ketola@exertus.fi>
|
||||||
|
|||||||
41
support/testing/tests/toolchain/test_external_arm.py
Normal file
41
support/testing/tests/toolchain/test_external_arm.py
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
from tests.toolchain.test_external import TestExternalToolchain
|
||||||
|
|
||||||
|
|
||||||
|
class TestExternalToolchainArmArm(TestExternalToolchain):
|
||||||
|
config = """
|
||||||
|
BR2_arm=y
|
||||||
|
BR2_cortex_a8=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL_ARM_ARM=y
|
||||||
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
"""
|
||||||
|
toolchain_prefix = "arm-none-linux-gnueabihf"
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
TestExternalToolchain.common_check(self)
|
||||||
|
|
||||||
|
|
||||||
|
class TestExternalToolchainArmAarch64(TestExternalToolchain):
|
||||||
|
config = """
|
||||||
|
BR2_aarch64=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64=y
|
||||||
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
"""
|
||||||
|
toolchain_prefix = "aarch64-none-linux-gnu"
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
TestExternalToolchain.common_check(self)
|
||||||
|
|
||||||
|
|
||||||
|
class TestExternalToolchainArmAarch64Be(TestExternalToolchain):
|
||||||
|
config = """
|
||||||
|
BR2_aarch64_be=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL=y
|
||||||
|
BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE=y
|
||||||
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
"""
|
||||||
|
toolchain_prefix = "aarch64_be-none-linux-gnu"
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
TestExternalToolchain.common_check(self)
|
||||||
Reference in New Issue
Block a user