From: Matthew Curtis Date: Tue, 18 Mar 2014 12:25:27 +0000 (+0000) Subject: modify declare-use.S to work when full toolchain not present X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6840105ca5d033e143e6e8248f60e319a1bfa1b2;p=clang modify declare-use.S to work when full toolchain not present Test doesn't actually require production of an object file and for some targets (e.g. hexagon) an assembler is not always available when lit tests are run. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204144 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Modules/declare-use.S b/test/Modules/declare-use.S index 28650b166b..2c5d8af7dd 100644 --- a/test/Modules/declare-use.S +++ b/test/Modules/declare-use.S @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// RUN: %clang -fmodule-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XS -I %S/Inputs/declare-use -c %s -Xclang -verify +// RUN: %clang -fmodule-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XS -I %S/Inputs/declare-use -S %s -Xclang -verify // expected-no-diagnostics #include "s.h"