X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=Makefile;h=bb382a76a81f4eac8d4e337d171f4e9028248bf5;hb=985dff25f7fde96308a66e5b01bc226589fd0825;hp=8b14f606f2d8f7faed00ded26d7bc211b2c87e49;hpb=87a9ca9ae186115bd1802187a863e80d7ab336aa;p=blank.git diff --git a/Makefile b/Makefile index 8b14f60..bb382a7 100644 --- a/Makefile +++ b/Makefile @@ -150,11 +150,15 @@ callgrind: $(ASSET_DEP) blank.profile --dump-instr=yes --simulate-hwpref=yes --simulate-wb=yes \ ./blank.profile -n 256 -t 16 --no-keyboard --no-mouse -d --no-vsync --save-path saves/ -test: $(TEST_BIN) $(TEST_TEST_BIN) +test: $(TEST_BIN) $(TEST_TEST_BIN) $(ASSET_DEP) @echo run: test.test @./test.test -coverage: $(COVER_BIN) $(COVER_TEST_BIN) +unittest: $(TEST_BIN) $(TEST_TEST_BIN) $(ASSET_DEP) + @echo run: test.test --headless + @./test.test --headless + +coverage: $(COVER_BIN) $(COVER_TEST_BIN) $(ASSET_DEP) @echo run: test.cover @./test.cover @@ -177,7 +181,7 @@ distclean: clean rm -f $(BIN) cachegrind.out.* callgrind.out.* rm -Rf build client-saves saves -.PHONY: all release cover debug profile tests run gdb cachegrind callgrind test coverage codecov lint clean distclean +.PHONY: all release cover debug profile tests run gdb cachegrind callgrind test unittest coverage codecov lint clean distclean -include $(DEP)