This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Add Darwin support for lit tests
ClosedPublic

Authored by kubamracek on Nov 6 2015, 6:59 AM.

Details

Summary

This patch enables running lit tests on OS X. This is actually 3 changes in test/tsan/lit.cfg:

  1. Simply enable tests for Darwin (they were restricted to Linux and FreeBSD).
  2. Disable using instrumented libcxx (libcxx_tsan) on Darwin. At this point, the instrumented libcxx doesn't even build, and there's quite a lot of work involved in properly fixing and using an alternative libcxx. I'd like to first focus on getting the test suite pass, since the instrumented libcxx doesn't seem to be necessary for most of the tests.
  3. On Darwin, override abort_on_error=0, otherwise all tests would generate crash logs and take much longer to process.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 39519.Nov 6 2015, 6:59 AM
kubamracek retitled this revision from to [tsan] Add Darwin support for lit tests.
kubamracek updated this object.
kubamracek added reviewers: dvyukov, kcc, samsonov, glider.
dvyukov accepted this revision.Nov 6 2015, 7:03 AM
dvyukov edited edge metadata.
This revision is now accepted and ready to land.Nov 6 2015, 7:03 AM
This revision was automatically updated to reflect the committed changes.