[llvm] b09df24 - [lit testing] Fix xfail-cl.py test worker count
Luís Marques via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 6 12:48:33 PDT 2021
Author: Luís Marques
Date: 2021-04-06T20:48:18+01:00
New Revision: b09df246cad93436325150f9115b69471dda2531
URL: https://github.com/llvm/llvm-project/commit/b09df246cad93436325150f9115b69471dda2531
DIFF: https://github.com/llvm/llvm-project/commit/b09df246cad93436325150f9115b69471dda2531.diff
LOG: [lit testing] Fix xfail-cl.py test worker count
This would fail in test environments with < 3 hardware threads.
Differential Revision: https://reviews.llvm.org/D99858
Added:
Modified:
llvm/utils/lit/tests/xfail-cl.py
Removed:
################################################################################
diff --git a/llvm/utils/lit/tests/xfail-cl.py b/llvm/utils/lit/tests/xfail-cl.py
index 7b2e64ccbf500..129e3092b9969 100644
--- a/llvm/utils/lit/tests/xfail-cl.py
+++ b/llvm/utils/lit/tests/xfail-cl.py
@@ -3,7 +3,7 @@
# RUN: %{lit} --xfail 'false.txt;false2.txt' %{inputs}/xfail-cl | FileCheck --check-prefix=CHECK-FILTER %s
# RUN: env LIT_XFAIL='false.txt;false2.txt' %{lit} %{inputs}/xfail-cl | FileCheck --check-prefix=CHECK-FILTER %s
# END.
-# CHECK-FILTER: Testing: 3 tests, 3 workers
+# CHECK-FILTER: Testing: 3 tests, {{[1-3]}} workers
# CHECK-FILTER-DAG: XFAIL: top-level-suite :: false.txt
# CHECK-FILTER-DAG: XFAIL: top-level-suite :: false2.txt
# CHECK-FILTER-DAG: PASS: top-level-suite :: true.txt
More information about the llvm-commits
mailing list