> 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:56:59 up 1 day 10:12, 2 users, load average: 0.36, 0.59, 0.54
This commit is contained in:
parent
f3b615a63e
commit
9b561034f5
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ START_TEST(test_expr_random_100) {
|
||||||
fputs(code_buf, fp);
|
fputs(code_buf, fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
|
||||||
int ret = system("gcc /tmp/.code.c -Werror=div-by-zero -o /tmp/.expr");
|
int ret = system("gcc /tmp/.code.c -Werror=div-by-zero -o /tmp/.expr 2>/dev/null");
|
||||||
if(ret == 256) {
|
if(ret == 256) {
|
||||||
// Probably devide by zero. Skip
|
// Probably devide by zero. Skip
|
||||||
goto clean_up;
|
goto clean_up;
|
||||||
|
|
Loading…
Reference in a new issue