Tests: disable reads(), print assertion messages to stderr (call eprintf, not printf)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user