Mozilla/mozilla/js/tests/Makefile
bob%bclary.com b0f2939c7a Modify JS test automation to be driven by external text files containing lists of urls, no bug, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@185004 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 05:56:58 +00:00

27 lines
761 B
Makefile

# -*- Makefile -*-
TEST_HTTP ?= test.mozilla.com
TEST_JS = $(shell find . -name '*.js' -print)
all: menu.html js-list.txt e4x-list.txt lc-list.txt menu-list.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
menu-list.txt:
echo "http://$(TEST_HTTP)/tests/mozilla.org/js/menu.html" > menu-list.txt
js-list.txt: $(TEST_JS)
./list.sh ecma ecma_2 ecma_3 js1_1 js1_2 js1_3 js1_4 js1_5 js1_6 | sort > js-list.txt
e4x-list.txt: $(TEST_JS)
./list.sh e4x | sort > e4x-list.txt
lc-list.txt: $(TEST_JS)
./list.sh lc2 lc3 | sort > lc-list.txt
clean:
rm -f menubody.html menu.html js-list.txt e4x-list.txt lc-list.txt menu-list.txt