2007-03-22 10:30:00 -07:00
|
|
|
# -*- Makefile -*-
|
|
|
|
|
|
|
|
TEST_HTTP ?= test.mozilla.com
|
|
|
|
TEST_JS = $(shell find . -name '*.js' -print)
|
|
|
|
CURRDIR=$(shell pwd)
|
|
|
|
JSDIR=$(shell basename $(CURRDIR))
|
|
|
|
|
2007-10-01 12:10:41 -07:00
|
|
|
all: menu.html 1.8.0-list.txt 1.8.1-list.txt 1.9.0-list.txt menu-list.txt excluded-n.tests spidermonkey-extensions-n.tests failures.txt
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2007-04-30 13:03:56 -07:00
|
|
|
menu.html: menuhead.html menufoot.html Makefile excluded-n.tests $(TEST_JS)
|
2007-03-22 10:30:00 -07:00
|
|
|
perl mklistpage.pl > menubody.html
|
|
|
|
cat menuhead.html menubody.html menufoot.html > menu.html
|
|
|
|
|
2007-07-12 10:49:30 -07:00
|
|
|
excluded-n.tests: spidermonkey-n.tests slow-n.tests performance.tests
|
2007-04-30 13:03:56 -07:00
|
|
|
cat $^ > $@
|
|
|
|
|
|
|
|
spidermonkey-extensions-n.tests: $(TEST_JS)
|
2007-05-25 17:19:18 -07:00
|
|
|
find . -name '*.js' | grep -v shell.js | grep -v browser.js | grep '/extensions/' | sed 's|\.\/||' | sort > $@
|
2007-04-30 13:03:56 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
menu-list.txt:
|
|
|
|
echo "http://$(TEST_HTTP)/tests/mozilla.org/$(JSDIR)/menu.html" > menu-list.txt
|
|
|
|
|
2007-04-30 13:03:56 -07:00
|
|
|
1.8.0-list.txt: $(TEST_JS) excluded-n.tests
|
|
|
|
./list.sh e4x ecma ecma_2 ecma_3 js1_1 js1_2 js1_3 js1_4 js1_5 js1_6 | sort > 1.8.0-list.txt
|
|
|
|
|
|
|
|
1.8.1-list.txt: $(TEST_JS) 1.8.0-list.txt excluded-n.tests
|
|
|
|
cat 1.8.0-list.txt > 1.8.1-list.txt
|
|
|
|
./list.sh js1_7 | sort >> 1.8.1-list.txt
|
|
|
|
|
2007-05-06 22:38:03 -07:00
|
|
|
1.9.0-list.txt: $(TEST_JS) 1.8.1-list.txt excluded-n.tests
|
|
|
|
cat 1.8.1-list.txt > 1.9.0-list.txt
|
|
|
|
./list.sh js1_8 | sort >> 1.9.0-list.txt
|
|
|
|
|
2007-10-01 12:10:41 -07:00
|
|
|
confidential-failures.txt:
|
|
|
|
touch confidential-failures.txt
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2007-10-01 12:10:41 -07:00
|
|
|
failures.txt: public-failures.txt confidential-failures.txt
|
2007-11-19 09:30:44 -08:00
|
|
|
sort < public-failures.txt | uniq | ./create-patterns.pl > public-failures.$$
|
|
|
|
mv public-failures.$$ public-failures.txt
|
|
|
|
sort < confidential-failures.txt | uniq | ./create-patterns.pl > confidential-failures.$$
|
|
|
|
mv confidential-failures.$$ confidential-failures.txt
|
2007-10-01 12:10:41 -07:00
|
|
|
cat public-failures.txt confidential-failures.txt | sort | uniq > failures.txt
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2007-04-30 13:03:56 -07:00
|
|
|
ecma_3/RegExp/re_tests:
|
|
|
|
curl -LsS -m 1800 "http://www.cpan.org/src/stable.tar.bz2" -o stable.tar.bz2
|
|
|
|
tar -jxvf stable.tar.bz2
|
|
|
|
cp `find . -maxdepth 1 -name 'perl-*'`/t/op/re_tests ecma_3/RegExp/re_tests
|
|
|
|
rm -fR `find . -maxdepth 1 -name 'perl-*'` stable.tar.bz2
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
clean:
|
2007-10-01 12:10:41 -07:00
|
|
|
rm -f menubody.html menu.html *-list.txt excluded-n.tests failures.txt
|
2007-03-22 10:30:00 -07:00
|
|
|
|