[RISCV] Disable test/Analysis/CostModel/RISCV tests if RISCV backend not built
authorLuis Marques <luismarques@lowrisc.org>
Thu, 6 Jun 2019 10:12:28 +0000 (10:12 +0000)
committerLuis Marques <luismarques@lowrisc.org>
Thu, 6 Jun 2019 10:12:28 +0000 (10:12 +0000)
Adds missing lit.local.cfg. Fixes rL362691.

llvm-svn: 362693

llvm/test/Analysis/CostModel/RISCV/lit.local.cfg [new file with mode: 0644]

diff --git a/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg b/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg
new file mode 100644 (file)
index 0000000..d0b081e
--- /dev/null
@@ -0,0 +1,3 @@
+if not 'RISCV' in config.root.targets:
+    config.unsupported = True
+