benchmark: return error when fail

This commit is contained in:
Zihao Yu 2024-02-20 14:47:47 +08:00
parent d41f447c17
commit 2e7c5934ed
3 changed files with 3 additions and 3 deletions

View file

@ -944,7 +944,7 @@ int main ()
880900 / (int)User_Time * NUMBER_OF_RUNS/ 500000);
printf(" vs. 100000 Marks (i7-7700K @ 4.20GHz)\n");
return 0;
return (pass ? 0 : 1);
}