Log error when test crashes

This commit is contained in:
Joe Ranweiler
2018-02-13 15:04:29 -08:00
parent 12dc706534
commit 86d0fac206
+2
View File
@@ -473,6 +473,8 @@ static int DeepState_ForkAndRunTest(struct DeepState_TestInfo *test) {
}
/* If here, we exited abnormally, and so the test failed due to a crash. */
DeepState_LogFormat(DeepState_LogError, "Crashed: %s", test->test_name);
if (HAS_FLAG_output_test_dir) {
DeepState_SaveCrashingTest();
}