diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-02 05:20:37 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-02 05:20:37 +0000 |
commit | 96a86600b40c7e92f1da2fdec5433cfd2a62a7ef (patch) | |
tree | 93d22e94f8c2050b30dc24e8777d86ce4b4aab1e | |
parent | 74198af85ea647d6483b643859adae4f2bed330b (diff) |
CIndex: Use 'env' instead of relying on bash environment-variable setting
syntax.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95068 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Index/remap-cursor-at.c | 2 | ||||
-rw-r--r-- | test/Index/remap-load.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Index/remap-cursor-at.c b/test/Index/remap-cursor-at.c index f7bcf79b75..fb97d5d62b 100644 --- a/test/Index/remap-cursor-at.c +++ b/test/Index/remap-cursor-at.c @@ -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 diff --git a/test/Index/remap-load.c b/test/Index/remap-load.c index 637b1673f6..b5c9062edd 100644 --- a/test/Index/remap-load.c +++ b/test/Index/remap-load.c @@ -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] |