> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 09:45:40 up 1 day 10:01, 2 users, load average: 0.53, 0.46, 0.40
This commit is contained in:
parent
2a3b7e9b2e
commit
0cfb776bc1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ START_TEST(test_expr_random_100) {
|
|||
fclose(fp);
|
||||
|
||||
int ret = system("gcc /tmp/.code.c -Werror=div-by-zero -o /tmp/.expr");
|
||||
if(ret == -1) {
|
||||
if(ret == 256) {
|
||||
// Probably devide by zero. Skip
|
||||
goto clean_up;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue