From: Dan Liew Date: Thu, 10 Jan 2019 17:47:44 +0000 (+0000) Subject: [lit] Make it possible for the lit test suite to pass with X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba41586e368e823fb106992a894501a2cf40b5b4;p=llvm [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 . git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350854 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/tests/shtest-run-at-line.py b/utils/lit/tests/shtest-run-at-line.py index cd0e08137ee..7e5d53b8e26 100644 --- a/utils/lit/tests/shtest-run-at-line.py +++ b/utils/lit/tests/shtest-run-at-line.py @@ -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.