commit 215ca7201e71f019fb19781c96f1686e146fb7d8 Author: jahoti Date: Fri Dec 3 00:00:00 2021 +0000 Clean up Makefile test targets Mark off the "tests" section and warn about build dir inflexibility diff --git a/Makefile.in b/Makefile.in index ffbad61..e49415d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -59,6 +59,7 @@ uninstall: %-build.zip: %-unpacked cd $< && zip -q -r ../$@ * +# testing-related targets test/certs/: mkdir $@ @@ -70,11 +71,18 @@ test/certs/rootCA.pem: test/certs/rootCA.key -subj "/CN=Haketilo Test" test: test/certs/rootCA.pem test/certs/site.key + @echo 'Warning: if the build directory is not the same' + @echo 'as the source directory, THIS WILL NOT WORK.' MOZ_HEADLESS=whatever $(PYTEST) test-environment: test/certs/rootCA.pem test/certs/site.key + @echo 'Warning: if the build directory is not the same' + @echo 'as the source directory, THIS WILL NOT WORK.' $(PYTHON) -m test +hello: record.conf + @ls + # helper targets clean mostlyclean: rm -rf mozilla-unpacked chromium-unpacked haketilo-$(version)