From 215ca7201e71f019fb19781c96f1686e146fb7d8 Mon Sep 17 00:00:00 2001 From: jahoti Date: Fri, 3 Dec 2021 00:00:00 +0000 Subject: Clean up Makefile test targets Mark off the "tests" section and warn about build dir inflexibility --- Makefile.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- cgit v1.2.3