summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/nozlibcompress.c
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-06-11 18:55:17 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-06-11 18:55:17 +0000
commit617034da8f438ddf4d57a86489b6e8aa6fcf93c3 (patch)
tree988524f7fc6d2f02b7576a6ae2bad31899bcf8a7 /clang/test/Driver/nozlibcompress.c
parenta5b6157297eba01c299ed359110244cbb560b723 (diff)
downloadbcm5719-llvm-617034da8f438ddf4d57a86489b6e8aa6fcf93c3.tar.gz
bcm5719-llvm-617034da8f438ddf4d57a86489b6e8aa6fcf93c3.zip
test: attempt to repair build bots
Split the no-ias tests and give them a target to ensure that they go down the GNU toolchain path. Adjust the no compression support tests. llvm-svn: 305167
Diffstat (limited to 'clang/test/Driver/nozlibcompress.c')
-rw-r--r--clang/test/Driver/nozlibcompress.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/test/Driver/nozlibcompress.c b/clang/test/Driver/nozlibcompress.c
index 9986c85d79a..035b115abd1 100644
--- a/clang/test/Driver/nozlibcompress.c
+++ b/clang/test/Driver/nozlibcompress.c
@@ -1,6 +1,7 @@
-// RUN: %clang -c %s -Wa,--compress-debug-sections 2>&1 | FileCheck %s
-// RUN: %clang -c %s -Wa,--compress-debug-sections -Wa,--nocompress-debug-sections 2>&1 | FileCheck --allow-empty --check-prefix=NOWARN %s
// REQUIRES: nozlib
-// CHECK: warning: cannot compress debug sections (zlib not installed)
-// NOWARN-NOT: warning: cannot compress debug sections (zlib not installed)
+// 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