[cfe-commits] r95068 - in /cfe/trunk/test/Index: remap-cursor-at.c remap-load.c

Daniel Dunbar daniel at zuster.org
Mon Feb 1 21:20:41 PST 2010


Author: ddunbar
Date: Mon Feb  1 23:20:37 2010
New Revision: 95068

URL: http://llvm.org/viewvc/llvm-project?rev=95068&view=rev
Log:
CIndex: Use 'env' instead of relying on bash environment-variable setting
syntax.

Modified:
    cfe/trunk/test/Index/remap-cursor-at.c
    cfe/trunk/test/Index/remap-load.c

Modified: cfe/trunk/test/Index/remap-cursor-at.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/remap-cursor-at.c?rev=95068&r1=95067&r2=95068&view=diff

==============================================================================
--- cfe/trunk/test/Index/remap-cursor-at.c (original)
+++ cfe/trunk/test/Index/remap-cursor-at.c Mon Feb  1 23:20:37 2010
@@ -1,5 +1,5 @@
 // RUN: c-index-test -cursor-at=%s:1:15 -cursor-at=%s:2:21 -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck %s
-// RUN: CINDEXTEST_USE_EXTERNAL_AST_GENERATION=1 c-index-test -cursor-at=%s:1:15 -cursor-at=%s:2:21 -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck %s
+// RUN: env CINDEXTEST_USE_EXTERNAL_AST_GENERATION=1 c-index-test -cursor-at=%s:1:15 -cursor-at=%s:2:21 -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck %s
 
 // CHECK: ParmDecl=parm1:1:13 (Definition)
 // CHECK: DeclRefExpr=parm2:1:26

Modified: cfe/trunk/test/Index/remap-load.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/remap-load.c?rev=95068&r1=95067&r2=95068&view=diff

==============================================================================
--- cfe/trunk/test/Index/remap-load.c (original)
+++ cfe/trunk/test/Index/remap-load.c Mon Feb  1 23:20:37 2010
@@ -1,5 +1,5 @@
 // RUN: c-index-test -test-load-source all -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck -check-prefix=CHECK %s
-// RUN: CINDEXTEST_USE_EXTERNAL_AST_GENERATION=1 c-index-test -test-load-source all -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck -check-prefix=CHECK %s
+// RUN: env CINDEXTEST_USE_EXTERNAL_AST_GENERATION=1 c-index-test -test-load-source all -remap-file="%s;%S/Inputs/remap-load-to.c" %s | FileCheck -check-prefix=CHECK %s
 
 // CHECK: remap-load.c:1:5: FunctionDecl=foo:1:5 (Definition) [Extent=1:5:3:1]
 // CHECK: remap-load.c:1:13: ParmDecl=parm1:1:13 (Definition) [Extent=1:9:1:17]





More information about the cfe-commits mailing list