Change these tests to not depend as much on the name of the input.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 25 Jul 2009 09:01:12 +0000 (09:01 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 25 Jul 2009 09:01:12 +0000 (09:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77057 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/clang-translation.c
test/Frontend/dependency-gen.c

index ca60a8d8c6bc990909939a6c04e3d4ad5e946b68..0a1ef59b13795162be4137ebddaee792d2ccb6d1 100644 (file)
@@ -7,7 +7,7 @@
 // RUN: grep '"--unwind-tables=0"' %t.log &&
 // RUN: grep '"--fmath-errno=1"' %t.log &&
 // RUN: grep '"-Os"' %t.log &&
-// RUN: grep '"-o" .*clang-translation\.c\.out\.tmp\.s' %t.log &&
+// RUN: grep '"-o" .*clang-translation.*' %t.log &&
 // RUN: grep '"--asm-verbose"' %t.log &&
 // RUN: clang -ccc-host-triple i386-apple-darwin9 -### -S %s -o %t.s 2> %t.log
 // RUN: grep '"--mcpu=yonah"' %t.log &&
index 456ce947f0916efb8bae8f7b0ca38f337f3515ce..4a1611aecff09183b57e1e96095af8cbdbc26a84 100644 (file)
@@ -1,6 +1,6 @@
 // rdar://6533411
 // RUN: clang -MD -MF %t.d -c -x c -o %t.o /dev/null && 
-// RUN: grep '.*dependency-gen.c.out.tmp.o:' %t.d &&
+// RUN: grep '.*dependency-gen.*:' %t.d &&
 // RUN: grep '/dev/null' %t.d &&
 
 // RUN: clang -M -x c /dev/null -o %t.deps &&