aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 5a376e1..f87a816 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -69,11 +69,11 @@ test/certs/rootCA.pem: test/certs/rootCA.key
openssl req -x509 -new -nodes -key $< -days 1024 -out $@ \
-subj "/CN=Haketilo Test"
-test: test/certs/rootCA.pem test/certs/site.key
- MOZ_HEADLESS=whatever pytest
+test: test/certs/rootCA.pem test/certs/site.key test/config.py
+ MOZ_HEADLESS=whatever $(PYTEST)
-test-environment: test/certs/rootCA.pem test/certs/site.key
- python3 -m test
+test-environment: test/certs/rootCA.pem test/certs/site.key test/config.py
+ $(PYTHON) -m test
# helper targets
clean mostlyclean:
@@ -85,7 +85,7 @@ clean mostlyclean:
rm -rf $$(find . -type d -name __pycache__)
distclean: clean
- rm -f Makefile config.status record.conf
+ rm -f Makefile config.status record.conf test/config.py
maintainer-clean: distclean
@echo 'This command is intended for maintainers to use; it'
@@ -107,6 +107,11 @@ Makefile: config.status Makefile.in record.conf
config.status: write_makefile.sh
cp "$(srcdir)"/write_makefile.sh config.status
+test/config.py:
+ @echo 'No test/config.py file was found; please re-configure'
+ @echo 'before attempting any more make operations.'
+ exit 1
+
# Unused GNU-specified targets
install-html:
install-dvi: