diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -92,9 +92,10 @@ all: $(derived-assets) lib$(NAME).a: $(sources.o) $(NAME).a: $(sources.o) src/main.o -src/config.h: Makefile deps.mk -$(sources.o) $(tests.o) src/main.o: Makefile deps.mk src/config.h -tests/slurp.o: tests/slurp.h Makefile deps.mk src/config.h +src/config.h: Makefile deps.mk +$(sources.o) $(tests.o): Makefile deps.mk src/config.h +src/main.o: src/$(NAME).h Makefile deps.mk src/config.h +tests/slurp.o: Makefile deps.mk src/config.h $(archives): @@ -115,7 +116,13 @@ $(tests.bin-check): check-unit: $(tests.bin-check) -check-integration: +integration-tests = \ + tests/cli-opts.sh \ + +$(integration-tests): $(NAME).bin ALWAYS + sh $@ $(EXEC)$(NAME).bin + +check-integration: $(integration-tests) ## Run all tests. Each test suite is isolated, so that a parallel |