]> granicus.if.org Git - clang/commitdiff
[libclang] Make the test portable.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 29 Nov 2011 05:48:01 +0000 (05:48 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 29 Nov 2011 05:48:01 +0000 (05:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145377 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/file-macro-refs.c

index b37daaa4332249bb3927deb51e5e2c7570393379..ed01cf5223f0f0586430cd8bd19fdf1897b87ecd 100644 (file)
@@ -4,7 +4,7 @@ FOO
 FOO
 
 // RUN: c-index-test -file-refs-at=%s:3:2 %s | FileCheck %s
-// RUN: CINDEXTEST_EDITING=1 c-index-test -file-refs-at=%s:3:2 %s | FileCheck %s
+// RUN: env CINDEXTEST_EDITING=1 c-index-test -file-refs-at=%s:3:2 %s | FileCheck %s
 
 // CHECK:      macro expansion=FOO:1:9
 // CHECK-NEXT: macro definition=FOO =[1:9 - 1:12]