From: Chad Rosier Date: Mon, 28 Jan 2013 20:51:27 +0000 (+0000) Subject: [driver] Revise this test to remove the dependency on the integrate assembler. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4738f2d4964b0c1f6de028e0872568eb1e547a32;p=clang [driver] Revise this test to remove the dependency on the integrate assembler. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173715 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/output-file-cleanup.c b/test/Driver/output-file-cleanup.c index 10a813465d..a8a16d3c39 100644 --- a/test/Driver/output-file-cleanup.c +++ b/test/Driver/output-file-cleanup.c @@ -1,20 +1,18 @@ -// RUN: touch %t.o -// RUN: not %clang -c -DCRASH -o %t.o -MMD -MF %t.d %s -// RUN: test ! -f %t.o +// RUN: touch %t.s +// RUN: not %clang -S -DCRASH -o %t.s -MMD -MF %t.d %s +// RUN: test ! -f %t.s // RUN: test ! -f %t.d -// RUN: touch %t.o -// RUN: not %clang -c -DMISSING -o %t.o -MMD -MF %t.d %s -// RUN: test ! -f %t.o +// RUN: touch %t.s +// RUN: not %clang -S -DMISSING -o %t.s -MMD -MF %t.d %s +// RUN: test ! -f %t.s // RUN: test ! -f %t.d -// RUN: touch %t.o -// RUN: not %clang -c -o %t.o -MMD -MF %t.d %s -// RUN: test ! -f %t.o +// RUN: touch %t.s +// RUN: not %clang -S -o %t.s -MMD -MF %t.d %s +// RUN: test ! -f %t.s // RUN: test -f %t.d -// FIXME: %t.o is not touched with -no-integrated-as. -// XFAIL: mingw32,powerpc,arm // REQUIRES: shell // REQUIRES: crash-recovery @@ -28,13 +26,13 @@ invalid C code // RUN: touch %t1.c // RUN: echo "invalid C code" > %t2.c -// RUN: cd %T && not %clang -c %t1.c %t2.c -// RUN: test -f %t1.o -// RUN: test ! -f %t2.o +// RUN: cd %T && not %clang -S %t1.c %t2.c +// RUN: test -f %t1.s +// RUN: test ! -f %t2.s // RUN: touch %t1.c // RUN: touch %t2.c // RUN: chmod -r %t2.c -// RUN: cd %T && not %clang -c %t1.c %t2.c -// RUN: test -f %t1.o -// RUN: test ! -f %t2.o +// RUN: cd %T && not %clang -S %t1.c %t2.c +// RUN: test -f %t1.s +// RUN: test ! -f %t2.s