]> granicus.if.org Git - clang/commitdiff
Fix one more record-parsing-invocation.c test issue on Windows
authorAlex Lorenz <arphaman@gmail.com>
Tue, 5 Dec 2017 21:33:05 +0000 (21:33 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 5 Dec 2017 21:33:05 +0000 (21:33 +0000)
Lit's env should be used before not.

Sean Eveson pointed out the right solution. Thanks!

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

test/Index/record-parsing-invocation.c

index 31883a93737e2e2dbacc76cb90de810e295ceb50..4cddd4931cf9385792d3ed31971c056b80c84799 100644 (file)
@@ -17,7 +17,7 @@
 // Make sure we record the unsaved file hash.
 // RUN: rm -rf %t
 // RUN: mkdir %t
-// RUN: not env CINDEXTEST_INVOCATION_EMISSION_PATH=%t c-index-test -test-load-source all "-remap-file=%s,%S/Inputs/record-parsing-invocation-remap.c" %s
+// RUN: env CINDEXTEST_INVOCATION_EMISSION_PATH=%t not c-index-test -test-load-source all "-remap-file=%s,%S/Inputs/record-parsing-invocation-remap.c" %s
 // RUN: cat %t/libclang-* | FileCheck --check-prefix=CHECK-UNSAVED %s
 
 #ifndef AVOID_CRASH