[PATCH] D99858: [lit testing] Fix xfail-cl.py test worker count
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 4 03:06:27 PDT 2021
luismarques created this revision.
luismarques added reviewers: davezarzycki, asb.
Herald added a subscriber: delcypher.
luismarques requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This would fail in test environments with < 3 hardware threads.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99858
Files:
llvm/utils/lit/tests/xfail-cl.py
Index: llvm/utils/lit/tests/xfail-cl.py
===================================================================
--- llvm/utils/lit/tests/xfail-cl.py
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99858.335139.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210404/a585b06c/attachment.bin>
More information about the llvm-commits
mailing list