r306123 - test: fix negative test case

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 23 09:52:50 PDT 2017


Author: compnerd
Date: Fri Jun 23 11:52:49 2017
New Revision: 306123

URL: http://llvm.org/viewvc/llvm-project?rev=306123&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Driver/nozlibcompress.c

Modified: cfe/trunk/test/Driver/nozlibcompress.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/nozlibcompress.c?rev=306123&r1=306122&r2=306123&view=diff
==============================================================================
--- cfe/trunk/test/Driver/nozlibcompress.c (original)
+++ cfe/trunk/test/Driver/nozlibcompress.c Fri Jun 23 11:52:49 2017
@@ -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)




More information about the cfe-commits mailing list