mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-19 22:18:07 +01:00
Testing do_remove
Mocking the send_to_char function to check messages to the user. Still doesn't work for act() though. Requires libmocka-dev and libunwind-setjmp0-dev
This commit is contained in:
parent
217eac8cb3
commit
7d3acb0e3d
4 changed files with 83 additions and 5 deletions
|
|
@ -8,7 +8,8 @@ ASAN:=n
|
|||
UBSAN:=n
|
||||
EXTENSION:=
|
||||
TEST_ENV:=
|
||||
CFLAGS:=-Wall -Wno-char-subscripts -Wno-unused-but-set-variable
|
||||
CFLAGS:=-Wall -Wno-char-subscripts -Wno-unused-but-set-variable
|
||||
CFLAGS+=-Wl,--wrap=send_to_char,--wrap=vwrite_to_output
|
||||
AGGRESSIVE_WARNINGS=n
|
||||
LIBS:=-lcrypt
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue