Skip to content

Commit

Permalink
[BOLT] Fix many tests detected as unsupported
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mtvec authored and rafaelauler committed Apr 24, 2023
1 parent a070dbf commit b3780af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt/test/lit.cfg.py
Expand Up @@ -110,4 +110,4 @@ def calculate_arch_features(arch_string):
('--targets-built', calculate_arch_features)
])

config.targets = frozenset(config.targets_to_build.split())
config.targets = frozenset(config.targets_to_build.split(';'))

0 comments on commit b3780af

Please sign in to comment.