> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.71 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jan 5 14:18:41 UTC 2024 x86_64 GNU/Linux 22:32:57 up 2 days 11:27, 2 users, load average: 1.01, 0.66, 0.47
This commit is contained in:
parent
b1a8710d27
commit
435161caa3
1 changed files with 3 additions and 3 deletions
|
@ -172,7 +172,7 @@ START_TEST(test_expr_plain_register) {
|
||||||
// NOTE: need to fix this if want to support more arch
|
// NOTE: need to fix this if want to support more arch
|
||||||
buf[0] = '$';
|
buf[0] = '$';
|
||||||
for (i = 0; i < 32; i++) {
|
for (i = 0; i < 32; i++) {
|
||||||
strcpy(buf + 1, regs[i]);
|
ck_assert(strcpy(buf + 1, regs[i]));
|
||||||
gpr(i) = i;
|
gpr(i) = i;
|
||||||
}
|
}
|
||||||
for (i = 1; i < 5; i++) {
|
for (i = 1; i < 5; i++) {
|
||||||
|
@ -203,8 +203,8 @@ Suite *expr_suite(void) {
|
||||||
tcase_add_loop_test(tc_core, test_expr_random_100, 0, 20);
|
tcase_add_loop_test(tc_core, test_expr_random_100, 0, 20);
|
||||||
tcase_add_loop_test(tc_core, test_expr_negative_operand, 0,
|
tcase_add_loop_test(tc_core, test_expr_negative_operand, 0,
|
||||||
sizeof(exprs) / sizeof(exprs[0]));
|
sizeof(exprs) / sizeof(exprs[0]));
|
||||||
tcase_add_loop_test(tc_core, test_expr_register, 0,
|
// tcase_add_loop_test(tc_core, test_expr_register, 0,
|
||||||
sizeof(reg_exprs) / sizeof(reg_exprs[0]));
|
// sizeof(reg_exprs) / sizeof(reg_exprs[0]));
|
||||||
tcase_add_test(tc_core, test_expr_plain_register);
|
tcase_add_test(tc_core, test_expr_plain_register);
|
||||||
suite_add_tcase(s, tc_core);
|
suite_add_tcase(s, tc_core);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue