r319836 - Fix one more record-parsing-invocation.c test issue on Windows

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 13:33:05 PST 2017


Author: arphaman
Date: Tue Dec  5 13:33:05 2017
New Revision: 319836

URL: http://llvm.org/viewvc/llvm-project?rev=319836&view=rev
Log:
Fix one more record-parsing-invocation.c test issue on Windows

Lit's env should be used before not.

Sean Eveson pointed out the right solution. Thanks!

Modified:
    cfe/trunk/test/Index/record-parsing-invocation.c

Modified: cfe/trunk/test/Index/record-parsing-invocation.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/record-parsing-invocation.c?rev=319836&r1=319835&r2=319836&view=diff
==============================================================================
--- cfe/trunk/test/Index/record-parsing-invocation.c (original)
+++ cfe/trunk/test/Index/record-parsing-invocation.c Tue Dec  5 13:33:05 2017
@@ -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




More information about the cfe-commits mailing list