summaryrefslogtreecommitdiff
path: root/bolt
diff options
context:
space:
mode:
authorJob Noorman <jnoorman@igalia.com>2023-04-24 11:38:42 -0700
committerRafael Auler <rafaelauler@fb.com>2023-04-24 11:39:02 -0700
commitb3780af3b3cdcb9881999de382d4f4bb675c7cd7 (patch)
treed36cb22f16350186996d7b019c1210ac79d3db7e /bolt
parenta070dbfd14d6154b4d3f1bbd55d901429ad8ac79 (diff)
downloadllvm-b3780af3b3cdcb9881999de382d4f4bb675c7cd7.tar.gz
[BOLT] Fix many tests detected as unsupported
Since D148847, many tests are detected as being unsupported. This is caused by BOLT_TARGETS_TO_BUILD being ;-separated whereas the previously used TARGETS_TO_BUILD is space-separated. This patch fixes this by creating config.targets lit.cfg.py by splitting on ';'. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D149026
Diffstat (limited to 'bolt')
-rw-r--r--bolt/test/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bolt/test/lit.cfg.py b/bolt/test/lit.cfg.py
index b5e15e20b1fe..5838699157db 100644
--- a/bolt/test/lit.cfg.py
+++ b/bolt/test/lit.cfg.py
@@ -110,4 +110,4 @@ llvm_config.feature_config(
('--targets-built', calculate_arch_features)
])
-config.targets = frozenset(config.targets_to_build.split())
+config.targets = frozenset(config.targets_to_build.split(';'))