benchmark: return error when fail
This commit is contained in:
parent
d41f447c17
commit
2e7c5934ed
3 changed files with 3 additions and 3 deletions
|
@ -149,7 +149,7 @@ int main(const char *args) {
|
|||
}
|
||||
printf("Scored time: %s ms\n", format_time(score_time));
|
||||
printf("Total time: %s ms\n", format_time(total_time));
|
||||
return 0;
|
||||
return (pass ? 0 : 1);
|
||||
}
|
||||
|
||||
// Libraries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue