[PATCH] D107427: [PATCH] [llvm] [lit] Fix inconsistent test order in shtest-keyword-parse-errors

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 00:01:29 PDT 2021


mgorny created this revision.
mgorny added reviewers: jdenny, ldionne, yln, delcypher.
mgorny requested review of this revision.
Herald added a project: LLVM.

Remove test times when running shtest-keyword-parse-errors test,
in order to prevent the previous executions from impacting subtest
order and therefore causing FileCheck to fail.


https://reviews.llvm.org/D107427

Files:
  llvm/utils/lit/tests/shtest-keyword-parse-errors.py


Index: llvm/utils/lit/tests/shtest-keyword-parse-errors.py
===================================================================
--- llvm/utils/lit/tests/shtest-keyword-parse-errors.py
+++ llvm/utils/lit/tests/shtest-keyword-parse-errors.py
@@ -1,3 +1,4 @@
+# RUN: rm -f %{inputs}/shtest-keyword-parse-errors/.lit_test_times.txt
 # RUN: not %{lit} -j 1 -vv %{inputs}/shtest-keyword-parse-errors > %t.out
 # RUN: FileCheck -input-file %t.out %s
 #


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107427.363980.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210804/30a7d74f/attachment.bin>


More information about the llvm-commits mailing list