]> granicus.if.org Git - llvm/commitdiff
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362693 91177308-0d34-0410-b5e6-96231b3b80d8

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

diff --git a/test/Analysis/CostModel/RISCV/lit.local.cfg b/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
+