From cf54b5cfb813a8897a92562d3a6fd2247f8e3af2 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 17 Feb 2022 12:44:55 +0100 Subject: add a `test-prepare` convenience target --- Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 862c610..e26dee3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -33,7 +33,7 @@ default: $(default_target) install install-html install-dvi install-pdf install-ps uninstall \ install-strip clean distclean mostlyclean maintainer-clean TAGS info \ dvi html pdf ps dist check installcheck installdirs \ - test test-environment + test-prepare test test-environment # core files icons/haketilo16.png: icons/haketilo.svg @@ -73,8 +73,10 @@ certs/rootCA.pem: certs/rootCA.key pytest.ini: pytest.ini.in sed "s|<>|$(srcdir)|" <$< > $@ -test: certs/rootCA.pem certs/site.key $(default_target)-build.zip \ +test-prepare: certs/rootCA.pem certs/site.key $(default_target)-build.zip \ pytest.ini + +test: test-prepare PYTHONPYCACHEPREFIX=$$(pwd)/test__pycache__ MOZ_HEADLESS=whatever \ "$(PYTHON)" -m pytest -- cgit v1.2.3