Mark crashing tests as failed

If a test generates a core dump, it is marked as a failure.
This commit is contained in:
Markus Mäkelä
2018-03-16 14:46:41 +02:00
parent 2dacd0c9a4
commit 64ccb67897
2 changed files with 9 additions and 6 deletions

View File

@ -827,16 +827,15 @@ int TestConnections::copy_all_logs()
sprintf(str, "%s/copy_logs.sh %s", test_dir, test_name);
tprintf("Executing %s\n", str);
if (system(str) != 0)
{
tprintf("copy_logs.sh executing FAILED!\n");
return 1;
}
else
{
tprintf("copy_logs.sh OK!\n");
return 0;
exit(1);
}
tprintf("copy_logs.sh OK!\n");
return 0;
}
int TestConnections::copy_all_logs_periodic()