> 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:
tracer-ysyx 2024-01-13 09:56:59 +08:00 committed by xinyangli
parent f3b615a63e
commit 9b561034f5

View file

@ -82,7 +82,7 @@ START_TEST(test_expr_random_100) {
fputs(code_buf, 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) {
// Probably devide by zero. Skip
goto clean_up;