[PATCH] D149026: [BOLT] Fix many tests detected as unsupported
Job Noorman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 23 09:51:09 PDT 2023
jobnoorman created this revision.
jobnoorman added reviewers: rafauler, maksfb, yota9, Amir, urnathan.
Herald added subscribers: asb, treapster, pmatos, ayermolo.
Herald added a project: All.
jobnoorman requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Since D148847 <https://reviews.llvm.org/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 ';'.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149026
Files:
bolt/test/lit.cfg.py
Index: bolt/test/lit.cfg.py
===================================================================
--- bolt/test/lit.cfg.py
+++ bolt/test/lit.cfg.py
@@ -110,4 +110,4 @@
('--targets-built', calculate_arch_features)
])
-config.targets = frozenset(config.targets_to_build.split())
+config.targets = frozenset(config.targets_to_build.split(';'))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149026.516184.patch
Type: text/x-patch
Size: 356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230423/6ff7c5f4/attachment.bin>
More information about the llvm-commits
mailing list