> 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 03:10:22 up 1 day 3:26, 2 users, load average: 0.80, 0.61, 0.61
This commit is contained in:
parent
6e1385df6b
commit
a3e3ce99dc
2 changed files with 2 additions and 2 deletions
|
@ -69,4 +69,4 @@ all-tests: LDFLAGS += $(shell pkg-config --libs check)
|
|||
all-tests: $(TEST_SRCS:%.c=$(OBJ_DIR)/%)
|
||||
|
||||
test: all-tests
|
||||
@CK_FORK=0 $(OBJ_DIR)/tests/expr_test
|
||||
@$(OBJ_DIR)/tests/expr_test
|
||||
|
|
|
@ -28,7 +28,7 @@ void gen(char c) {
|
|||
}
|
||||
|
||||
void gen_num(void) {
|
||||
uint32_t num = rand() % 100000;
|
||||
uint32_t num = rand() % 100;
|
||||
int len = 0;
|
||||
switch(rand() % 2) {
|
||||
case 0:
|
||||
|
|
Loading…
Reference in a new issue