]> granicus.if.org Git - clang/commitdiff
modify declare-use.S to work when full toolchain not present
authorMatthew Curtis <mcurtis@codeaurora.org>
Tue, 18 Mar 2014 12:25:27 +0000 (12:25 +0000)
committerMatthew Curtis <mcurtis@codeaurora.org>
Tue, 18 Mar 2014 12:25:27 +0000 (12:25 +0000)
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

test/Modules/declare-use.S

index 28650b166b9fee6a0758ec0f600a737334d054f8..2c5d8af7dd25a28d14d1bebfaccc857dbafc3947 100644 (file)
@@ -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"