> 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:
tracer-ysyx 2024-01-13 09:45:40 +08:00 committed by xinyangli
parent 2a3b7e9b2e
commit 0cfb776bc1

View file

@ -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;
}