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
  • Loading branch information
mgorny committed Aug 5, 2021
1 parent 2c14798 commit 39fa96a
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 39fa96a

Please sign in to comment.