bug 460504 - JavaScript Test by Jesse Ruderman. bug 466747 - JavaScript Test by Jesse Ruderman. bug 476192 - JavaScript Test by Carsten Book, Jesse Ruderman. bug 479740 - JavaScript Test by Gary Kwong. bug 480147 - JavaScript Test by Carsten Book, Jesse Ruderman. bug 481800 - JavaScript Test by Gary Kwong. bug 481989 - JavaScript Test by Gary Kwong. bug 482263 - JavaScript Test by Gary Kwong. bug 482421 - JavaScript Test by Gary Kwong. Bug 482783, Bug 481793, Bug 476871, Bug 482349, Bug 482594 - merge js/src/trace-test.js, js/tests/js1_8_1/trace/trace-test.js. bug 483438 - remove public failures from source control. bug 483435 - remove windows wlock.lnk file after hg pull. bug 483434 - Sisyphus - JavaScript Tests - add support for narcissus. bug 483433 - comment bug number in spidermonkey-n-1.9.2.tests. git-svn-id: svn://10.0.0.236/trunk@256540 18797224-902f-48f8-a5cc-f745e15eee43
59 lines
2.0 KiB
Makefile
59 lines
2.0 KiB
Makefile
# -*- Makefile -*-
|
|
TEST_HTTP ?= test.mozilla.com
|
|
TEST_JS = $(shell find . -name '*.js' -print)
|
|
CURRDIR=$(shell pwd)
|
|
JSDIR=$(shell basename $(CURRDIR))
|
|
|
|
all: menu.html \
|
|
menu-list.txt \
|
|
spidermonkey-extensions-n.tests \
|
|
failures.txt
|
|
|
|
menu.html: menuhead.html menufoot.html Makefile spidermonkey-n.tests $(TEST_JS)
|
|
perl mklistpage.pl > menubody.html
|
|
cat menuhead.html menubody.html menufoot.html > menu.html
|
|
|
|
spidermonkey-extensions-n.tests: $(TEST_JS)
|
|
find . -name '*.js' | grep -v shell.js | grep -v browser.js | grep '/extensions/' | sed 's|\.\/||' | sort > $@
|
|
|
|
menu-list.txt:
|
|
echo "http://$(TEST_HTTP)/tests/mozilla.org/$(JSDIR)/menu.html" > menu-list.txt
|
|
|
|
.PHONY: patterns
|
|
|
|
public-failures.txt:
|
|
touch $@
|
|
|
|
confidential-failures.txt:
|
|
touch $@
|
|
|
|
universe.data:
|
|
touch $@
|
|
|
|
confidential-universe.data:
|
|
touch $@
|
|
|
|
patterns: confidential-failures.txt confidential-universe.data public-failures.txt universe.data
|
|
if [[ -e confidential-failures.txt.expanded ]]; then \
|
|
cp confidential-failures.txt confidential-failures.txt.save; \
|
|
export TEST_UNIVERSE=$(CURRDIR)/confidential-universe.data && \
|
|
./pattern-extracter.pl confidential-failures.txt.expanded > confidential-failures.txt; \
|
|
fi
|
|
if [[ -e public-failures.txt.expanded ]]; then \
|
|
cp public-failures.txt public-failures.txt.save; \
|
|
./pattern-extracter.pl public-failures.txt.expanded > public-failures.txt; \
|
|
fi
|
|
|
|
public-failures.txt.expanded: public-failures.txt universe.data
|
|
./pattern-expander.pl public-failures.txt > public-failures.txt.expanded
|
|
|
|
confidential-failures.txt.expanded: confidential-failures.txt confidential-universe.data
|
|
export TEST_UNIVERSE=$(CURRDIR)/confidential-universe.data && \
|
|
./pattern-expander.pl confidential-failures.txt > confidential-failures.txt.expanded
|
|
|
|
failures.txt: public-failures.txt.expanded confidential-failures.txt.expanded
|
|
sort -u public-failures.txt.expanded confidential-failures.txt.expanded > failures.txt
|
|
|
|
clean:
|
|
rm -f menubody.html menu.html menu-list.txt failures.txt *failures.txt.expanded excluded-*.tests included-*.tests urllist*.html urllist*.tests
|