Skip to content

Commit

Permalink
[llvm] [lit] Fix inconsistent test order in shtest-keyword-parse-errors
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
mgorny authored and tstellar committed Aug 6, 2021
1 parent 6cdf6e5 commit f0bdb5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/utils/lit/tests/shtest-keyword-parse-errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# FIXME: this test depends on order of tests
# 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
#
Expand Down

0 comments on commit f0bdb5e

Please sign in to comment.