From 772a5e540dc2d711b0497db8a7d129c194fbb38c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 25 Jul 2009 09:01:12 +0000 Subject: 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 --- test/Driver/clang-translation.c | 2 +- test/Frontend/dependency-gen.c | 2 +- 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 && -- cgit v1.2.1