[cfe-commits] r173715 - [driver] Revise this test to remove the dependency on the integrate assembler.

Chad Rosier mcrosier at apple.com
Mon Jan 28 12:51:27 PST 2013


Author: mcrosier
Date: Mon Jan 28 14:51:27 2013
New Revision: 173715

URL: http://llvm.org/viewvc/llvm-project?rev=173715&view=rev
Log:
[driver] Revise this test to remove the dependency on the integrate assembler.

Modified:
    cfe/trunk/test/Driver/output-file-cleanup.c

Modified: cfe/trunk/test/Driver/output-file-cleanup.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/output-file-cleanup.c?rev=173715&r1=173714&r2=173715&view=diff
==============================================================================
--- cfe/trunk/test/Driver/output-file-cleanup.c (original)
+++ cfe/trunk/test/Driver/output-file-cleanup.c Mon Jan 28 14:51:27 2013
@@ -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





More information about the cfe-commits mailing list