[llvm] r350854 - [lit] Make it possible for the lit test suite to pass with
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 10 09:47:44 PST 2019
Author: delcypher
Date: Thu Jan 10 09:47:44 2019
New Revision: 350854
URL: http://llvm.org/viewvc/llvm-project?rev=350854&view=rev
Log:
[lit] Make it possible for the lit test suite to pass with
`FILECHECK_OPTS=-v` set in the environment.
Follow up to r350850 as requested by Joel E. Denny in
https://reviews.llvm.org/D56541 .
Modified:
llvm/trunk/utils/lit/tests/shtest-run-at-line.py
Modified: llvm/trunk/utils/lit/tests/shtest-run-at-line.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/shtest-run-at-line.py?rev=350854&r1=350853&r2=350854&view=diff
==============================================================================
--- llvm/trunk/utils/lit/tests/shtest-run-at-line.py (original)
+++ llvm/trunk/utils/lit/tests/shtest-run-at-line.py Thu Jan 10 09:47:44 2019
@@ -1,7 +1,7 @@
# Check that -vv makes the line number of the failing RUN command clear.
# (-v is actually sufficient in the case of the internal shell.)
#
-# RUN: not %{lit} -j 1 -vv %{inputs}/shtest-run-at-line > %t.out
+# RUN: env -u FILECHECK_OPTS not %{lit} -j 1 -vv %{inputs}/shtest-run-at-line > %t.out
# RUN: FileCheck --input-file %t.out %s
#
# END.
More information about the llvm-commits
mailing list