[llvm] [lit] Fix inconsistent test order in shtest-keyword-parse-errors
authorMichał Górny <mgorny@moritz.systems>
Wed, 4 Aug 2021 06:58:04 +0000 (08:58 +0200)
committerMichał Górny <mgorny@moritz.systems>
Thu, 5 Aug 2021 07:16:37 +0000 (09:16 +0200)
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

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

index fb652bd..78cbf81 100644 (file)
@@ -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
 #