r204144 - modify declare-use.S to work when full toolchain not present

Matthew Curtis mcurtis at codeaurora.org
Tue Mar 18 05:25:27 PDT 2014


Author: mcurtis
Date: Tue Mar 18 07:25:27 2014
New Revision: 204144

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


Modified:
    cfe/trunk/test/Modules/declare-use.S

Modified: cfe/trunk/test/Modules/declare-use.S
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/declare-use.S?rev=204144&r1=204143&r2=204144&view=diff
==============================================================================
--- cfe/trunk/test/Modules/declare-use.S (original)
+++ cfe/trunk/test/Modules/declare-use.S Tue Mar 18 07:25:27 2014
@@ -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"





More information about the cfe-commits mailing list