[llvm] r352614 - Add lit config file to skip tests if WebAssembly target is not available.

Douglas Yung via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 30 01:49:40 PST 2019


Author: dyung
Date: Wed Jan 30 01:49:39 2019
New Revision: 352614

URL: http://llvm.org/viewvc/llvm-project?rev=352614&view=rev
Log:
Add lit config file to skip tests if WebAssembly target is not available.

Added:
    llvm/trunk/test/tools/llvm-nm/wasm/lit.local.cfg

Added: llvm/trunk/test/tools/llvm-nm/wasm/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-nm/wasm/lit.local.cfg?rev=352614&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-nm/wasm/lit.local.cfg (added)
+++ llvm/trunk/test/tools/llvm-nm/wasm/lit.local.cfg Wed Jan 30 01:49:39 2019
@@ -0,0 +1,2 @@
+if not 'WebAssembly' in config.root.targets:
+    config.unsupported = True




More information about the llvm-commits mailing list