<div dir="ltr">We already do this in llvm::sys::PrintStackTraceOnErrorSignal. You could setenv("LLVM_DISABLE_CRASH_REPORT", "1") to get this behavior.<div><br></div><div>Either way is probably fine.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 11:21 AM, Pete Cooper <span dir="ltr"><<a href="mailto:peter_cooper@apple.com" target="_blank">peter_cooper@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Justin<br>
<br>
Please review this patch which disables the crash reporter in the unit tests.  This makes tests using EXPECT_DEATH stop taking an unreasonably long time to run.  For example:<br>
<br>
[----------] 47 tests from APFloatTest (51250 ms total)<br>
<br>
to<br>
<br>
[----------] 47 tests from APFloatTest (765 ms total)<br>
<br>
Cheers,<br>
Pete<br>
<br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>