[llvm] 39fa96a - [llvm] [lit] Fix inconsistent test order in shtest-keyword-parse-errors

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 00:17:36 PDT 2021


Author: Michał Górny
Date: 2021-08-05T09:16:37+02:00
New Revision: 39fa96a4906934774ba20bcb0cd5f808f619f3a6

URL: https://github.com/llvm/llvm-project/commit/39fa96a4906934774ba20bcb0cd5f808f619f3a6
DIFF: https://github.com/llvm/llvm-project/commit/39fa96a4906934774ba20bcb0cd5f808f619f3a6.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

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-commits mailing list