mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-26 17:57:07 +00:00
Follow up for "[lit] Include unexecuted tests in xUnit report"
The extended test fails on bots that still run lit tests with Python 2. https://reviews.llvm.org/D81316
This commit is contained in:
parent
9ee272f13d
commit
853e61142d
@ -23,9 +23,10 @@ class DummyFormat(lit.formats.FileBasedTest):
|
||||
result = lit.Test.Result(getattr(lit.Test, result_code),
|
||||
result_output)
|
||||
|
||||
required_feature = cfg.get('global', 'required_feature', fallback=None)
|
||||
if required_feature:
|
||||
test.requires.append(required_feature)
|
||||
if cfg.has_option('global', 'required_feature'):
|
||||
required_feature = cfg.get('global', 'required_feature')
|
||||
if required_feature:
|
||||
test.requires.append(required_feature)
|
||||
|
||||
# Load additional metrics.
|
||||
for key,value_str in cfg.items('results'):
|
||||
|
Loading…
Reference in New Issue
Block a user