[ubsan] Give ubsan-minimal lit test suite a name.

Otherwise llvm-lit -v prints this:
PASS: <unnamed> :: TestCases/recover-dedup-limit.cpp (1 of 3)
PASS: <unnamed> :: TestCases/recover-dedup.cpp (2 of 3)
PASS: <unnamed> :: TestCases/uadd-overflow.cpp (3 of 3)

llvm-svn: 312203
This commit is contained in:
Evgeniy Stepanov 2017-08-31 00:54:10 +00:00
parent 1704f6289a
commit 84614f851c
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ def get_required_attr(config, attr_name):
# Setup source root. # Setup source root.
config.test_source_root = os.path.dirname(__file__) config.test_source_root = os.path.dirname(__file__)
config.name = 'UBSan-Minimal-' + config.target_arch
def build_invocation(compile_flags): def build_invocation(compile_flags):
return " " + " ".join([config.clang] + compile_flags) + " " return " " + " ".join([config.clang] + compile_flags) + " "