Add lit config file to skip tests if WebAssembly target is not available.
authorDouglas Yung <douglas.yung@sony.com>
Wed, 30 Jan 2019 09:49:39 +0000 (09:49 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Wed, 30 Jan 2019 09:49:39 +0000 (09:49 +0000)
llvm-svn: 352614

llvm/test/tools/llvm-nm/wasm/lit.local.cfg [new file with mode: 0644]

diff --git a/llvm/test/tools/llvm-nm/wasm/lit.local.cfg b/llvm/test/tools/llvm-nm/wasm/lit.local.cfg
new file mode 100644 (file)
index 0000000..7434735
--- /dev/null
@@ -0,0 +1,2 @@
+if not 'WebAssembly' in config.root.targets:
+    config.unsupported = True