aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-17 12:44:55 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-17 12:44:55 +0100
commitcf54b5cfb813a8897a92562d3a6fd2247f8e3af2 (patch)
treed21a229e52b892a3eec0e370bd1b178a346b8b24
parent5ed6a89cd164f40b60a2008f63fad2534d36b624 (diff)
downloadbrowser-extension-cf54b5cfb813a8897a92562d3a6fd2247f8e3af2.tar.gz
browser-extension-cf54b5cfb813a8897a92562d3a6fd2247f8e3af2.zip
add a `test-prepare` convenience target
-rw-r--r--Makefile.in6
1 files 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>>|$(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