]> git.localhorst.tv Git - blobs.git/blobdiff - Makefile
test asset loading
[blobs.git] / Makefile
index a09825234ba2fa8e8b2ce0f215a8b17110ab9a43..7d2905819ca111818c54d6f4652e7fb2d760bac2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -135,10 +135,14 @@ callgrind: $(ASSET_DEP) blobs.profile
                --dump-instr=yes --simulate-hwpref=yes --simulate-wb=yes \
                ./blobs.profile
 
-test: blobs.test
+test: blobs.test $(ASSET_DEP)
        @echo run: blobs.test
        @./blobs.test
 
+headless-test: blobs.test
+       @echo run: blobs.test --headless
+       @./blobs.test --headless
+
 coverage: blobs.cover
        @echo run: blobs.cover
        @./blobs.cover
@@ -162,7 +166,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 headless-test coverage codecov lint clean distclean
 
 -include $(DEP)