Skip to content

Commit

Permalink
Print exit statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgriffin committed Feb 21, 2023
1 parent bec089f commit d4abc7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/mgba-rom-test-hydra/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ int main(int argc, char *argv[])
perror("waitpid runners[i] failed");
exit(2);
}
fprintf(stdout, "mgba-rom-test process %d exited with %d\n", i, WEXITSTATUS(wstatus));
if (WIFEXITED(wstatus) && WEXITSTATUS(wstatus) > exit_code)
exit_code = WEXITSTATUS(wstatus);
passes += runners[i].passes;
Expand Down

0 comments on commit d4abc7e

Please sign in to comment.