diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in index e49415d..1e3cdbd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -61,6 +61,7 @@ uninstall: # testing-related targets test/certs/: + [ -d test ] || mkdir test mkdir $@ test/certs/%.key: | test/certs/ @@ -71,17 +72,10 @@ 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) + MOZ_HEADLESS=whatever $(PYTEST) "$(srcdir)" 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 + PYTHONPATH="$(srcdir)" $(PYTHON) -m test # helper targets clean mostlyclean: |