[llvm] r362693 - [RISCV] Disable test/Analysis/CostModel/RISCV tests if RISCV backend not built
Luis Marques via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 03:12:29 PDT 2019
Author: luismarques
Date: Thu Jun 6 03:12:28 2019
New Revision: 362693
URL: http://llvm.org/viewvc/llvm-project?rev=362693&view=rev
Log:
[RISCV] Disable test/Analysis/CostModel/RISCV tests if RISCV backend not built
Adds missing lit.local.cfg. Fixes rL362691.
Added:
llvm/trunk/test/Analysis/CostModel/RISCV/lit.local.cfg
Added: llvm/trunk/test/Analysis/CostModel/RISCV/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/CostModel/RISCV/lit.local.cfg?rev=362693&view=auto
==============================================================================
--- llvm/trunk/test/Analysis/CostModel/RISCV/lit.local.cfg (added)
+++ llvm/trunk/test/Analysis/CostModel/RISCV/lit.local.cfg Thu Jun 6 03:12:28 2019
@@ -0,0 +1,3 @@
+if not 'RISCV' in config.root.targets:
+ config.unsupported = True
+
More information about the llvm-commits
mailing list