Investigating leaks in bug 463263, backout bug 453403.
[wine-gecko.git] / js / tests / Makefile
blob9b2b77814632263398e3318429a558dfc4c7ea6d
1 # -*- Makefile -*-
2 TEST_HTTP ?= test.mozilla.com
3 TEST_JS = $(shell find . -name '*.js' -print)
4 CURRDIR=$(shell pwd)
5 JSDIR=$(shell basename $(CURRDIR))
7 all: menu.html \
8 menu-list.txt \
9 spidermonkey-extensions-n.tests \
10 failures.txt
12 menu.html: menuhead.html menufoot.html Makefile spidermonkey-n.tests $(TEST_JS)
13 perl mklistpage.pl > menubody.html
14 cat menuhead.html menubody.html menufoot.html > menu.html
16 spidermonkey-extensions-n.tests: $(TEST_JS)
17 find . -name '*.js' | grep -v shell.js | grep -v browser.js | grep '/extensions/' | sed 's|\.\/||' | sort > $@
19 menu-list.txt:
20 echo "http://$(TEST_HTTP)/tests/mozilla.org/$(JSDIR)/menu.html" > menu-list.txt
22 confidential-failures.txt:
23 touch confidential-failures.txt
25 public-failures.txt.expanded: public-failures.txt universe.data
26 ./pattern-expander.pl public-failures.txt > public-failures.txt.expanded
28 confidential-failures.txt.expanded: confidential-failures.txt universe.data
29 ./pattern-expander.pl confidential-failures.txt > confidential-failures.txt.expanded
31 failures.txt: public-failures.txt.expanded confidential-failures.txt.expanded
32 sort -u public-failures.txt.expanded confidential-failures.txt.expanded > failures.txt
34 clean:
35 rm -f menubody.html menu.html menu-list.txt failures.txt *failures.txt.expanded excluded-*.tests included-*.tests urllist*.html urllist*.tests