aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-04 21:05:04 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-04 21:05:04 +0000
commitb7219f8238ca4c5f97243536055a6a60c7518dbc (patch)
tree0a75dca13e3fa5e3f2d68c5db8eef016d53d023b
parente535fba3e5527f14de85a7954f39f18ba1790d71 (diff)
Desensitize env-include-paths.c to the directory it is running in.
- It would probably be better if TestRunner.sh canonicalized this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57075 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Driver/env-include-paths.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Driver/env-include-paths.c b/test/Driver/env-include-paths.c
index 91ca48070c..ced24311c0 100644
--- a/test/Driver/env-include-paths.c
+++ b/test/Driver/env-include-paths.c
@@ -1,6 +1,7 @@
// RUN: clang -fsyntax-only -verify -DAS_SOURCE %s &&
// RUN: env CPATH="" clang -fsyntax-only -verify -DAS_SOURCE %s &&
// RUN: env CPATH="xyz:xyz" clang -fsyntax-only -verify -DAS_SOURCE %s &&
+// RUN: cd $(dirname %s) &&
// RUN: env CPATH="xyz::xyz" clang -fsyntax-only -verify -DSHOULD_FIND -DAS_SOURCE %s &&
// RUN: env CPATH="../Driver" clang -fsyntax-only -verify -DSHOULD_FIND -DAS_SOURCE %s