test/unit: add test_sanity
This test ensures that the custom uc_assert_xxx() macros are working as intended.
This commit is contained in:
@@ -4,7 +4,7 @@ CFLAGS += -L ../../
|
||||
CFLAGS += -lcmocka -lunicorn
|
||||
CFLAGS += -I ../../include
|
||||
|
||||
ALL_TESTS = test_x86 test_mem_map
|
||||
ALL_TESTS = test_sanity test_x86 test_mem_map
|
||||
|
||||
.PHONY: all
|
||||
all: ${ALL_TESTS}
|
||||
@@ -16,10 +16,11 @@ clean:
|
||||
.PHONY: test
|
||||
test: export LD_LIBRARY_PATH=../../
|
||||
test: ${ALL_TESTS}
|
||||
./test_sanity
|
||||
./test_x86
|
||||
./test_mem_map
|
||||
|
||||
|
||||
test_sanity: test_sanity.c
|
||||
test_x86: test_x86.c
|
||||
test_mem_map: test_mem_map.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user