summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-25 09:01:12 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-25 09:01:12 +0000
commit772a5e540dc2d711b0497db8a7d129c194fbb38c (patch)
tree8e05a1975ab3425d4e1cad78f1a5adc0e37c170b
parent13591ed054d1b2d6d392151ba05cbc883e640648 (diff)
downloadclang-772a5e540dc2d711b0497db8a7d129c194fbb38c.tar.gz
Change these tests to not depend as much on the name of the input.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77057 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Driver/clang-translation.c2
-rw-r--r--test/Frontend/dependency-gen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Driver/clang-translation.c b/test/Driver/clang-translation.c
index ca60a8d8c6..0a1ef59b13 100644
--- a/test/Driver/clang-translation.c
+++ b/test/Driver/clang-translation.c
@@ -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 &&
diff --git a/test/Frontend/dependency-gen.c b/test/Frontend/dependency-gen.c
index 456ce947f0..4a1611aecf 100644
--- a/test/Frontend/dependency-gen.c
+++ b/test/Frontend/dependency-gen.c
@@ -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 &&