Author: nicholas
Date: Thu Oct 20 22:07:40 2011
New Revision: 142635
URL: http://llvm.org/viewvc/llvm-project?rev=142635&view=rev
Log:
Massage this test a little so it works when run inside the Google environment.
Modified:
cfe/trunk/test/Driver/debug.c
Modified: cfe/trunk/test/Driver/debug.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/debug.c?rev=142635&r1=142634&r2=142635&view=diff
==============================================================================
--- cfe/trunk/test/Driver/debug.c (original)
+++ cfe/trunk/test/Driver/debug.c Thu Oct 20 22:07:40 2011
@@ -1,4 +1,4 @@
-// RUN: %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "'%S'"'
+// RUN: cd %S && %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir"
"'%S'"'
// RUN: PWD=/foo %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir"
"/foo"'
// This test uses grep instead of FileCheck so that we get %S -> dirname
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits