Commit Graph

5 Commits

Author SHA1 Message Date
Michael Gottesman
bc90c3b5d4 Do not run the backtrace test when running tests with optimizations enabled.
We do not emit backtraces when optimization is enabled. We could do a negative
test here but I do not think it really adds much.
2016-05-12 10:42:57 -07:00
Michael Gottesman
7523d1a60b When producing backtraces, do not use backtrace_symbol, invoke dladdr directly.
Previously, we were using backtrace_symbol and then parsing/modifying its
output. By just using dladdr directly, we have a cleaner and more robust
solution.

rdar://25064742
2016-05-11 15:40:10 -07:00
Joe Pamer
5b349f84f4 Harden one test against potential future type checker experiments. 2016-05-06 12:41:57 -07:00
Guillaume Lessard
2b189f18e8 [test] eliminate a workaround made redundant by 49c5487 2016-05-04 16:24:55 -06:00
Guillaume Lessard
c87309eb4d [test] Tests for weak reference read-read thread safety
Dispatch-based tests exist because (on OS X) they are more likely to encounter the race condition than `StdlibUnitTest`'s `runRaceTest()` is.
2016-05-03 20:58:44 -06:00