Force lit to execute the ASan and TSan tests on iOS devices
authorDan Liew <dan@su-root.co.uk>
Sat, 20 Jan 2018 02:07:30 +0000 (02:07 +0000)
committerDan Liew <dan@su-root.co.uk>
Sat, 20 Jan 2018 02:07:30 +0000 (02:07 +0000)
commit3fc243aea52cd7cc1a66bfbcbb81d15cfe66762c
treeee39409d8bca0a4823ef3992b675d9aea287eaf4
parent0f0a428738d657895efebcc57e96d072ddca8426
Force lit to execute the ASan and TSan tests on iOS devices
sequentially.

The current implementation of commands in
`test/sanitizer_common/ios_commands/` for iOS devices cannot be executed
in parallel which results in the ASan and TSan tests failing when
executed in parallel by lit which was the default behaviour.

We now force the ASan and TSan tests to be a new parallelism group named
`darwin-ios-device-sanitizer` which allows only one test to be run at a
time.  We also emit a warning informing the user that tests are being
run sequentially.

This only applies if the target is an iOS device.

Differential Revision: https://reviews.llvm.org/D42156

llvm-svn: 323026
compiler-rt/test/asan/lit.cfg
compiler-rt/test/lit.common.cfg
compiler-rt/test/tsan/lit.cfg