[cfe-commits] r57075 - /cfe/trunk/test/Driver/env-include-paths.c

Daniel Dunbar daniel at zuster.org
Sat Oct 4 14:05:04 PDT 2008


Author: ddunbar
Date: Sat Oct  4 16:05:04 2008
New Revision: 57075

URL: http://llvm.org/viewvc/llvm-project?rev=57075&view=rev
Log:
Desensitize env-include-paths.c to the directory it is running in.
 - It would probably be better if TestRunner.sh canonicalized this.

Modified:
    cfe/trunk/test/Driver/env-include-paths.c

Modified: cfe/trunk/test/Driver/env-include-paths.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/env-include-paths.c?rev=57075&r1=57074&r2=57075&view=diff

==============================================================================
--- cfe/trunk/test/Driver/env-include-paths.c (original)
+++ cfe/trunk/test/Driver/env-include-paths.c Sat Oct  4 16:05:04 2008
@@ -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
 





More information about the cfe-commits mailing list