[llvm-branch-commits] [llvm] f0bdb5e - [llvm] [lit] Fix inconsistent test order in shtest-keyword-parse-errors

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 6 12:51:15 PDT 2021


Author: Michał Górny
Date: 2021-08-06T12:50:56-07:00
New Revision: f0bdb5eab7f97d3de17d093418f627cc5ce5fe82

URL: https://github.com/llvm/llvm-project/commit/f0bdb5eab7f97d3de17d093418f627cc5ce5fe82
DIFF: https://github.com/llvm/llvm-project/commit/f0bdb5eab7f97d3de17d093418f627cc5ce5fe82.diff

LOG: [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 39fa96a4906934774ba20bcb0cd5f808f619f3a6)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/utils/lit/tests/shtest-keyword-parse-errors.py b/llvm/utils/lit/tests/shtest-keyword-parse-errors.py
index fb652bd5964d9..78cbf81a3e6a0 100644
--- a/llvm/utils/lit/tests/shtest-keyword-parse-errors.py
+++ b/llvm/utils/lit/tests/shtest-keyword-parse-errors.py
@@ -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
 #


        


More information about the llvm-branch-commits mailing list