add basic cmocka unit test
This commit is contained in:
13
test/unit/Makefile
Normal file
13
test/unit/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
CFLAGS += -lcmocka -lunicorn
|
||||
|
||||
|
||||
ALL_TESTS = test_x86
|
||||
|
||||
all: ${ALL_TESTS}
|
||||
|
||||
clean:
|
||||
rm ${ALL_TESTS}
|
||||
|
||||
|
||||
test_x86: test_x86.c
|
||||
gcc ${CFLAGS} -o $@ $^
|
||||
Reference in New Issue
Block a user