From 8ea37f46f27e9b5c0179445aebce909398794df4 Mon Sep 17 00:00:00 2001 From: Paul Osmialowski Date: Fri, 7 Mar 2025 12:04:26 +0000 Subject: [PATCH] [Downstream change][tests] Mark the tests failing with timeout as unsupported Initial upstream attempt: https://github.com/llvm/llvm-project/pull/126527 Downstream issue: https://github.com/arm/arm-toolchain/issues/177 There are some test cases which tend to fail with timeout when started on heavy loaded shared machines. As our CI machines are mostly shared, those failures tend to introduce unnecessary disturbance to our work. It is better to disable those tests. For more context, please read issue #177. --- llvm/utils/lit/tests/googletest-timeout.py | 1 + llvm/utils/lit/tests/max-time.py | 1 + llvm/utils/lit/tests/xunit-output-report-failures-only.py | 1 + llvm/utils/lit/tests/xunit-output.py | 1 + 4 files changed, 4 insertions(+) diff --git a/llvm/utils/lit/tests/googletest-timeout.py b/llvm/utils/lit/tests/googletest-timeout.py index a17d3a5b9cb6..1104b5f3de8c 100644 --- a/llvm/utils/lit/tests/googletest-timeout.py +++ b/llvm/utils/lit/tests/googletest-timeout.py @@ -1,4 +1,5 @@ # REQUIRES: lit-max-individual-test-time +# UNSUPPORTED: system-linux ############################################################################### # Check tests can hit timeout when set diff --git a/llvm/utils/lit/tests/max-time.py b/llvm/utils/lit/tests/max-time.py index a416c8da3eaf..fc2fc4a963ba 100644 --- a/llvm/utils/lit/tests/max-time.py +++ b/llvm/utils/lit/tests/max-time.py @@ -1,4 +1,5 @@ # UNSUPPORTED: system-windows +# UNSUPPORTED: system-linux # Test overall lit timeout (--max-time). # diff --git a/llvm/utils/lit/tests/xunit-output-report-failures-only.py b/llvm/utils/lit/tests/xunit-output-report-failures-only.py index e15fd6a009f9..65d55176a79f 100644 --- a/llvm/utils/lit/tests/xunit-output-report-failures-only.py +++ b/llvm/utils/lit/tests/xunit-output-report-failures-only.py @@ -1,3 +1,4 @@ +# UNSUPPORTED: system-linux ## Check xunit output. # RUN: not %{lit} --report-failures-only --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output # RUN: FileCheck --input-file=%t.xunit.xml %s diff --git a/llvm/utils/lit/tests/xunit-output.py b/llvm/utils/lit/tests/xunit-output.py index c6cf3dfc24c8..e11c4499ffa3 100644 --- a/llvm/utils/lit/tests/xunit-output.py +++ b/llvm/utils/lit/tests/xunit-output.py @@ -1,4 +1,5 @@ # UNSUPPORTED: system-windows +# UNSUPPORTED: system-linux # Check xunit output # RUN: rm -rf %t.xunit.xml