aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-01-28 20:51:27 +0000
committerChad Rosier <mcrosier@apple.com>2013-01-28 20:51:27 +0000
commit4738f2d4964b0c1f6de028e0872568eb1e547a32 (patch)
tree39dca7116f1886da06b0b4a2bbb15751d5974225
parent03efd9d034c2e2b698fd087c937f98d2637dcb11 (diff)
[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
-rw-r--r--test/Driver/output-file-cleanup.c32
1 files changed, 15 insertions, 17 deletions
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