]> granicus.if.org Git - llvm/commitdiff
[lit] Make it possible for the lit test suite to pass with
authorDan Liew <dan@su-root.co.uk>
Thu, 10 Jan 2019 17:47:44 +0000 (17:47 +0000)
committerDan Liew <dan@su-root.co.uk>
Thu, 10 Jan 2019 17:47:44 +0000 (17:47 +0000)
`FILECHECK_OPTS=-v` set in the environment.

Follow up to r350850 as requested by Joel E. Denny in
https://reviews.llvm.org/D56541 .

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350854 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/tests/shtest-run-at-line.py

index cd0e08137ee589b841df478f335fb9e16ae39ddb..7e5d53b8e26ceea37a1c6c1e4fa135c18469cae6 100644 (file)
@@ -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.