This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer_common] Add suffix to lit testsuite name to distinguish subtargets.
ClosedPublic

Authored by dsanders on Feb 3 2016, 5:24 AM.

Details

Summary

This fixes duplicate test names in the test results, so:

PASS: SanitizerCommon-asan :: fopen_nullptr.c (304 of 431)
PASS: SanitizerCommon-asan :: fopen_nullptr.c (305 of 431)

is now:

PASS: SanitizerCommon-asan-i386-Linux :: fopen_nullptr.c (282 of 431)             
PASS: SanitizerCommon-asan-x86_64-Linux :: fopen_nullptr.c (316 of 431)

Diff Detail

Event Timeline

dsanders updated this revision to Diff 46776.Feb 3 2016, 5:24 AM
dsanders retitled this revision from to [sanitizer_common] Add suffix to lit testsuite name to distinguish subtargets..
dsanders updated this object.
dsanders added a reviewer: samsonov.
dsanders added a subscriber: llvm-commits.
samsonov accepted this revision.Feb 5 2016, 2:32 PM
samsonov edited edge metadata.

LGTM. Thank you!

test/sanitizer_common/CMakeLists.txt
39

probably CONFIG_NAME should be enough...

test/sanitizer_common/lit.common.cfg
6

... and this "SanitizerCommon-" + config.name_suffix?

test/sanitizer_common/lit.site.cfg.in
5

Can you just make it "@CONFIG_NAME@"?

This revision is now accepted and ready to land.Feb 5 2016, 2:32 PM
dsanders closed this revision.Feb 9 2016, 7:56 AM

I've just realized I made these changes in one staging area and committed using another. I'll fix this straight away.

The changes were made in r260229. Sorry for the noise.