Skip to content

Commit f0bdb5e

Browse files
mgornytstellar
authored andcommitted
[llvm] [lit] Fix inconsistent test order in shtest-keyword-parse-errors
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. Differential Revision: https://reviews.llvm.org/D107427 (cherry picked from commit 39fa96a)
1 parent 6cdf6e5 commit f0bdb5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# FIXME: this test depends on order of tests
2+
# RUN: rm -f %{inputs}/shtest-keyword-parse-errors/.lit_test_times.txt
3+
14
# RUN: not %{lit} -j 1 -vv %{inputs}/shtest-keyword-parse-errors > %t.out
25
# RUN: FileCheck -input-file %t.out %s
36
#

0 commit comments

Comments
 (0)