Skip to contentSkip to conversation

support/testing/tests/toolchain/test_external_synopsys.py: drop tests

PATCH Applied Thomas Petazzoni via buildroot 3 participants 3 messages Jan 26, 2025 – Feb 1, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/testing/tests/toolchain/test_external_synopsys.py: drop tests

The Synopsys external toolchain has been disabled in commit 11a8cdd2bbbd0ef4adf600e4792d75f6f2122ec8, causing the test cases testing this toolchain to fail. Let's drop those tests for now, they can always be re-added later on.

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697531
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697528
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697524
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697519
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697517
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697516

---
 .../tests/toolchain/test_external_synopsys.py | 91 -------------------
 1 file changed, 91 deletions(-)
 delete mode 100644 support/testing/tests/toolchain/test_external_synopsys.py
support/testing/tests/toolchain/test_external_synopsys.py deleted +0 -91
deleted file mode 100644
index 19ed9f67b0..0000000000
@@ -1,91 +0,0 @@
-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)
Signature · 6 lines
2.47.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Thomas,

Quoted 7 lines · Thomas Petazzoni via buildroot

The Synopsys external toolchain has been disabled in commit 11a8cdd2bbbd0ef4adf600e4792d75f6f2122ec8, causing the test cases testing this toolchain to fail. Let's drop those tests for now, they can always be re-added later on.

Fixes:

Quoted 8 lines

https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697531
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697528
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697524
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697519
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697517
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697516

I applied the patch to master, thanks.

I also removed the test entry in DEVELOPERS.

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Thomas Petazzoni via buildroot
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

The Synopsys external toolchain has been disabled in commit 11a8cdd2bbbd0ef4adf600e4792d75f6f2122ec8, causing the test cases testing this toolchain to fail. Let's drop those tests for now, they can always be re-added later on.

Fixes:

Quoted 8 lines

https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697531
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697528
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697524
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697519
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697517
https://gitlab.com/buildroot.org/buildroot/-/jobs/8892697516

Committed to 2024.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot