From: Daniel Dunbar Date: Sat, 4 Oct 2008 21:05:04 +0000 (+0000) Subject: Desensitize env-include-paths.c to the directory it is running in. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7219f8238ca4c5f97243536055a6a60c7518dbc;p=clang 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 --- 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