Don't actually execute gcc during testing.

llvm-svn: 154005
This commit is contained in:
Benjamin Kramer 2012-04-04 09:05:21 +00:00
parent a1355d17ca
commit ab90ebe917
1 changed files with 6 additions and 2 deletions

View File

@ -43,5 +43,9 @@
// Check that --serialize-diagnostics does not cause an "argument unused" error.
// RUN: %clang -target i386-apple-darwin10 \
// RUN: -Werror -Wall -Wno-comment -fapple-kext \
// RUN: --serialize-diagnostics %t.dia -c %s
// RUN: -Werror -Wall -Wno-comment -fapple-kext -### \
// RUN: --serialize-diagnostics %t.dia -c %s 2>&1 | \
// RUN: FileCheck --check-prefix=CHECK-UNUSED %s
// CHECK-UNUSED-NOT: argument unused
// CHECK-UNUSED: cc1plus