aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjahoti <jahoti@tilde.team>2021-12-03 00:00:00 +0000
committerjahoti <jahoti@tilde.team>2021-12-03 00:00:00 +0000
commit215ca7201e71f019fb19781c96f1686e146fb7d8 (patch)
tree9f42604480993359d26000fd1ac8c5f7b3716397
parent3fcff3382d439c0451421288f1d7d942be0de0c8 (diff)
downloadbrowser-extension-215ca7201e71f019fb19781c96f1686e146fb7d8.tar.gz
browser-extension-215ca7201e71f019fb19781c96f1686e146fb7d8.zip
Clean up Makefile test targets
Mark off the "tests" section and warn about build dir inflexibility
-rw-r--r--Makefile.in8
1 files changed, 8 insertions, 0 deletions
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)