summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-06-23 16:52:49 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-06-23 16:52:49 +0000
commit9ac7181a2c577dc5c0d2cddd294ac508f818d997 (patch)
tree9b561f94f2ab744ce00937d199f7b8222ad90510
parenta1dcb85ddea649d7dd144b03ede60a9c94b985ca (diff)
downloadbcm5719-llvm-9ac7181a2c577dc5c0d2cddd294ac508f818d997.tar.gz
bcm5719-llvm-9ac7181a2c577dc5c0d2cddd294ac508f818d997.zip
test: fix negative test case
Add missing -### to the driver to ensure that we dont try to run the actual command. The host may not support the IAS. Should fix the SCEI buildbots. llvm-svn: 306123
-rw-r--r--clang/test/Driver/nozlibcompress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/nozlibcompress.c b/clang/test/Driver/nozlibcompress.c
index 035b115abd1..41e1794ad9c 100644
--- a/clang/test/Driver/nozlibcompress.c
+++ b/clang/test/Driver/nozlibcompress.c
@@ -1,7 +1,7 @@
// REQUIRES: nozlib
-// RUN: %clang -fintegrated-as -gz -c %s 2>&1 | FileCheck %s -check-prefix CHECK-WARN
-// RUN: %clang -fintegrated-as -gz=none -c %s 2>&1 | FileCheck -allow-empty -check-prefix CHECK-NOWARN %s
+// RUN: %clang -### -fintegrated-as -gz -c %s 2>&1 | FileCheck %s -check-prefix CHECK-WARN
+// RUN: %clang -### -fintegrated-as -gz=none -c %s 2>&1 | FileCheck -allow-empty -check-prefix CHECK-NOWARN %s
// CHECK-WARN: warning: cannot compress debug sections (zlib not installed)
// CHECK-NOWARN-NOT: warning: cannot compress debug sections (zlib not installed)
OpenPOWER on IntegriCloud