[TSAN][CMake] Add support to run lit on individual tests
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 24 May 2021 22:43:56 +0000 (15:43 -0700)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 25 May 2021 19:33:02 +0000 (12:33 -0700)
commit6c35991ca02413d94cc2c8f4a622851f261019f8
treea9d6d464345e8ec2c72f1ebfbeaa70eecc88dd73
parent3975e3277f2b64307660a6ff3e94f1b3ccdbb38a
[TSAN][CMake] Add support to run lit on individual tests

Handy when testing specific files, already supported in other components.

Example:
cd build; ./bin/llvm-lit ../compiler-rt/test/tsan/ignore_free.cpp

Differential Revision: https://reviews.llvm.org/D103054
compiler-rt/test/tsan/CMakeLists.txt