mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-09 19:29:59 +00:00
Add to and improve upon the DIAL server unit tests.
This commit is contained in:
@@ -3,7 +3,7 @@ CC=$(TARGET)gcc
|
||||
.PHONY: clean
|
||||
.DEFAULT_GOAL=test
|
||||
|
||||
OBJS := test_dial_data.o test_url_lib.o ../url_lib.o ../dial_data.o run_tests.o
|
||||
OBJS := test_dial_data.o test_url_lib.o test_callbacks.o ../url_lib.o ../dial_data.o ../system_callbacks.o run_tests.o
|
||||
HEADERS := $(wildcard ../*.h)
|
||||
|
||||
%.c: $(HEADERS)
|
||||
@@ -12,7 +12,7 @@ HEADERS := $(wildcard ../*.h)
|
||||
$(CC) -Wall -Werror -g -std=gnu99 $(CFLAGS) -c $*.c -o $*.o
|
||||
|
||||
test: $(OBJS)
|
||||
$(CC) -Wall -Werror -g $(OBJS) -ldl -lpthread -o run_tests
|
||||
$(CC) -Wall -Werror -fsanitize=address -g $(OBJS) -ldl -lpthread -o run_tests
|
||||
|
||||
clean:
|
||||
rm -f *.o run_tests
|
||||
|
||||
Reference in New Issue
Block a user