ms-runner/tests/Makefile

11 lines
639 B
Makefile

.PHONY: test_all
test: tests/resource_handler_test tests/transport_test
tests/resource_handler_test: resource_handler/resource_handler.h resource_handler/resource_handler.c tests/resource_handler_test.c
$(CC) -o $@ resource_handler/resource_handler.c tests/resource_handler_test.c -I . -g -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer
tests/transport_test: transport/transport.c transport/transport.h transport/utils.c tests/transport_test.c
$(CC) -o $@ gen/runner/v1/runner.pb-c.c tests/transport_test.c -I . -I gen -g -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -lrabbitmq -lprotobuf-c
test_all:
echo 1