From 54f10cb946668b4a2641f70e4bfd0a06e7d5f26c Mon Sep 17 00:00:00 2001 From: Luis Marques Date: Thu, 6 Jun 2019 10:12:28 +0000 Subject: [PATCH] [RISCV] Disable test/Analysis/CostModel/RISCV tests if RISCV backend not built Adds missing lit.local.cfg. Fixes rL362691. llvm-svn: 362693 --- test/Analysis/CostModel/RISCV/lit.local.cfg | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/Analysis/CostModel/RISCV/lit.local.cfg diff --git a/test/Analysis/CostModel/RISCV/lit.local.cfg b/test/Analysis/CostModel/RISCV/lit.local.cfg new file mode 100644 index 00000000000..d0b081e3e8b --- /dev/null +++ b/test/Analysis/CostModel/RISCV/lit.local.cfg @@ -0,0 +1,3 @@ +if not 'RISCV' in config.root.targets: + config.unsupported = True +