chore: add test folder
This commit is contained in:
parent
71cf5a5981
commit
0e1d5d3f23
3 changed files with 1845 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -73,7 +73,7 @@ $(BINS_TEST): %: %.c.o $(LIB)
|
|||
$(BUILD_DIR)/$(TEST_DIR)/%.c.o: $(TEST_DIR)/%.c
|
||||
mkdir -p $(dir $@)
|
||||
$(CC) $(_CFLAGS) -I$(TEST_DIR) \
|
||||
-I$(dir $(@:$(BUILD_DIR)/$(TEST_DIR)/%=$(SRC_DIR)/%)) \
|
||||
-I$(SRC_DIR)/_include \
|
||||
-c $< -o $@
|
||||
|
||||
# =====EXAMPLES=====
|
||||
|
|
|
|||
5
test/routing.c
Normal file
5
test/routing.c
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#include "test.h"
|
||||
|
||||
TEST_LIST = {
|
||||
{ NULL, NULL }
|
||||
};
|
||||
1839
test/test.h
Normal file
1839
test/test.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue