From: Saleem Abdulrasool Date: Fri, 23 Jun 2017 16:52:49 +0000 (+0000) Subject: test: fix negative test case X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e69da60ae245599a8e5bc89e4b0d237d084d944a;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306123 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/nozlibcompress.c b/test/Driver/nozlibcompress.c index 035b115abd..41e1794ad9 100644 --- a/test/Driver/nozlibcompress.c +++ b/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)