Revision 215ca720
Added by jahoti almost 2 years ago
Makefile.in | ||
---|---|---|
59 | 59 |
%-build.zip: %-unpacked |
60 | 60 |
cd $< && zip -q -r ../$@ * |
61 | 61 |
|
62 |
# testing-related targets |
|
62 | 63 |
test/certs/: |
63 | 64 |
mkdir $@ |
64 | 65 |
|
... | ... | |
70 | 71 |
-subj "/CN=Haketilo Test" |
71 | 72 |
|
72 | 73 |
test: test/certs/rootCA.pem test/certs/site.key |
74 |
@echo 'Warning: if the build directory is not the same' |
|
75 |
@echo 'as the source directory, THIS WILL NOT WORK.' |
|
73 | 76 |
MOZ_HEADLESS=whatever $(PYTEST) |
74 | 77 |
|
75 | 78 |
test-environment: test/certs/rootCA.pem test/certs/site.key |
79 |
@echo 'Warning: if the build directory is not the same' |
|
80 |
@echo 'as the source directory, THIS WILL NOT WORK.' |
|
76 | 81 |
$(PYTHON) -m test |
77 | 82 |
|
83 |
hello: record.conf |
|
84 |
@ls |
|
85 |
|
|
78 | 86 |
# helper targets |
79 | 87 |
clean mostlyclean: |
80 | 88 |
rm -rf mozilla-unpacked chromium-unpacked haketilo-$(version) |
Also available in: Unified diff
Clean up Makefile test targets
Mark off the "tests" section and warn about build dir inflexibility