Add a new unit test file
This commit is contained in:
parent
567bd08b86
commit
91451aa2f5
@ -1100,6 +1100,9 @@ if (UNICORN_HAS_RISCV)
|
||||
set(UNICORN_TEST_FILE ${UNICORN_TEST_FILE} test_riscv)
|
||||
endif()
|
||||
|
||||
# Extra tests
|
||||
set(UNICORN_TEST_FILE ${UNICORN_TEST_FILE} test_mem)
|
||||
|
||||
target_compile_options(unicorn PRIVATE
|
||||
${UNICORN_COMPILE_OPTIONS}
|
||||
)
|
||||
|
5
tests/unit/test_mem.c
Normal file
5
tests/unit/test_mem.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include "unicorn_test.h"
|
||||
|
||||
TEST_LIST = {
|
||||
{ NULL, NULL }
|
||||
};
|
Loading…
Reference in New Issue
Block a user