Tests: disable reads(), print assertion messages to stderr (call eprintf, not printf)

This commit is contained in:
2025-07-31 11:36:22 +02:00
parent 6f2e427d86
commit b39f39fb99

View File

@@ -37,7 +37,7 @@
%endif %endif
%%cnt: %%cnt:
lea rdi, [rel %3] lea rdi, [rel %3]
call printf call eprintf
%%end: %%end:
pop rax pop rax
add rsp, SIZE_QWORD add rsp, SIZE_QWORD
@@ -128,7 +128,7 @@ section .rodata
TEST_puts equ 1 TEST_puts equ 1
TEST_printf equ 1 TEST_printf equ 1
TEST_eprintf equ 1 TEST_eprintf equ 1
TEST_reads equ 1 TEST_reads equ 0
;string.asm_ ;string.asm_
TEST_strlen equ 1 TEST_strlen equ 1
TEST_strcpy equ 1 TEST_strcpy equ 1