chore: add test folder

routing
Jef Roosens 2024-02-22 17:43:30 +01:00
parent 71cf5a5981
commit 0e1d5d3f23
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
3 changed files with 1845 additions and 1 deletions

View File

@ -73,7 +73,7 @@ $(BINS_TEST): %: %.c.o $(LIB)
$(BUILD_DIR)/$(TEST_DIR)/%.c.o: $(TEST_DIR)/%.c $(BUILD_DIR)/$(TEST_DIR)/%.c.o: $(TEST_DIR)/%.c
mkdir -p $(dir $@) mkdir -p $(dir $@)
$(CC) $(_CFLAGS) -I$(TEST_DIR) \ $(CC) $(_CFLAGS) -I$(TEST_DIR) \
-I$(dir $(@:$(BUILD_DIR)/$(TEST_DIR)/%=$(SRC_DIR)/%)) \ -I$(SRC_DIR)/_include \
-c $< -o $@ -c $< -o $@
# =====EXAMPLES===== # =====EXAMPLES=====

5
test/routing.c 100644
View File

@ -0,0 +1,5 @@
#include "test.h"
TEST_LIST = {
{ NULL, NULL }
};

1839
test/test.h 100644

File diff suppressed because it is too large Load Diff