Author: dgregor
Date: Fri Oct 21 18:37:41 2011
New Revision: 142701
URL: http://llvm.org/viewvc/llvm-project?rev=142701&view=rev
Log:
More speculative test tweaking
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=142701&r1=142700&r2=142701&view=diff
==============================================================================
--- cfe/trunk/test/Driver/debug.c (original)
+++ cfe/trunk/test/Driver/debug.c Fri Oct 21 18:37:41 2011
@@ -2,10 +2,7 @@
// CHECK-PWD: {{"-fdebug-compilation-dir" ".*Driver.*"}}
// RUN: env PWD=/foo %clang -### -g %s -c 2>&1 | FileCheck
-check-prefix=CHECK-FOO %s
-// CHECK-FOO: "-fdebug-compilation-dir" "/foo"
-
-// This test uses grep instead of FileCheck so that we get %S -> dirname
-// substitution.
+// CHECK-FOO: {{"-fdebug-compilation-dir" ".*foo"}}
// "PWD=/foo gcc" wouldn't necessarily work. You would need to pick a different
// path to the same directory (try a symlink).
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits