summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-11-14 22:57:42 +0000
committerNick White <git@njw.me.uk>2010-11-14 22:57:42 +0000
commit0781d0f5df9aee336e3b6b6de4143c2e2f83e6ad (patch)
tree4f2db59f67c94d62d96dd4335579f4168f95bb8c /Makefile
parentdb7cc104350b8e8915a0f7a26f788f023c7b0fe5 (diff)
Make clear that test is webkit specific
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5bfc273..b5fc205 100644
--- a/Makefile
+++ b/Makefile
@@ -47,10 +47,12 @@ crx: simplyread.js chromium/icon.svg chromium/manifest.json chromium/background.
gpg -b < $(NAME)-$(VERSION).crx > $(NAME)-$(VERSION).crx.sig
echo $(NAME)-$(VERSION).crx $(NAME)-$(VERSION).crx.sig
+# note that tests require a patched surf browser; see tests/runtest.sh
test:
for i in tests/html/*.html; do \
- sh tests/runtest.sh $$i $$i.simple 1>$$i.diff 2>/dev/null; \
- test $$? -eq 0 && echo $$i passed || echo "$$i failed (see $$i.diff)"; \
+ sh tests/webkittest.sh $$i $$i.simple 1>$$i.diff 2>/dev/null; \
+ test $$? -eq 0 && echo "$$i passed (webkit)" \
+ || echo "$$i failed (webkit) (see $$i.diff)"; \
test ! -s $$i.diff && rm $$i.diff; \
done