Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Side by Side Diff: mozilla-tests/Makefile

Issue 2865028: Update the mozilla tests to new version (as of 2010-06-29). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | mozilla-tests/Patterns.pm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- Makefile -*- 1 # -*- Makefile -*-
2 TEST_HTTP ?= test.mozilla.com 2 TEST_HTTP ?= test.mozilla.com
3 TEST_JS = $(shell find . -name '*.js' -print) 3 TEST_JS = $(shell find . -name '*.js' -print)
4 CURRDIR=$(shell pwd) 4 CURRDIR=$(shell pwd)
5 JSDIR=$(shell basename $(CURRDIR)) 5 JSDIR=$(shell basename $(CURRDIR))
6 6
7 all: menu.html \ 7 all: menu.html \
8 menu-list.txt \ 8 menu-list.txt \
9 spidermonkey-extensions-n.tests \ 9 spidermonkey-extensions-n.tests \
10 failures.txt 10 failures.txt
11 11
12 menu.html: menuhead.html menufoot.html Makefile spidermonkey-n.tests $(TEST_JS) 12 menu.html: menuhead.html menufoot.html Makefile spidermonkey-n.tests $(TEST_JS)
13 perl mklistpage.pl > menubody.html 13 perl mklistpage.pl > menubody.html
14 cat menuhead.html menubody.html menufoot.html > menu.html 14 cat menuhead.html menubody.html menufoot.html > menu.html
15 15
16 spidermonkey-extensions-n.tests: $(TEST_JS) 16 spidermonkey-extensions-n.tests: $(TEST_JS)
17 find . -name '*.js' | grep -v shell.js | grep -v browser.js | grep '/ext ensions/' | sed 's|\.\/||' | sort > $@ 17 find . -name '*.js' | grep -v shell.js | grep -v browser.js | grep '/ext ensions/' | sed 's|\.\/||' | sort > $@
18 18
19 menu-list.txt: 19 menu-list.txt:
20 echo "http://$(TEST_HTTP)/tests/mozilla.org/$(JSDIR)/menu.html" > menu-l ist.txt 20 echo "http://$(TEST_HTTP)/tests/mozilla.org/$(JSDIR)/menu.html" > menu-l ist.txt
21 21
22 .PHONY: patterns
23
24 public-failures.txt:
25 touch $@
26
22 confidential-failures.txt: 27 confidential-failures.txt:
23 » touch confidential-failures.txt 28 » touch $@
29
30 universe.data:
31 » touch $@
32
33 confidential-universe.data:
34 » touch $@
35
36 patterns: confidential-failures.txt confidential-universe.data public-failures.t xt universe.data
37 » if [[ -e confidential-failures.txt.expanded ]]; then \
38 » » cp confidential-failures.txt confidential-failures.txt.save; \
39 » » export TEST_UNIVERSE=$(CURRDIR)/confidential-universe.data && \
40 » » ./pattern-extracter.pl confidential-failures.txt.expanded > conf idential-failures.txt; \
41 » fi
42 » if [[ -e public-failures.txt.expanded ]]; then \
43 » » cp public-failures.txt public-failures.txt.save; \
44 » » ./pattern-extracter.pl public-failures.txt.expanded > public-fai lures.txt; \
45 » fi
24 46
25 public-failures.txt.expanded: public-failures.txt universe.data 47 public-failures.txt.expanded: public-failures.txt universe.data
26 ./pattern-expander.pl public-failures.txt > public-failures.txt.expanded 48 ./pattern-expander.pl public-failures.txt > public-failures.txt.expanded
27 49
28 confidential-failures.txt.expanded: confidential-failures.txt universe.data 50 confidential-failures.txt.expanded: confidential-failures.txt confidential-unive rse.data
51 » export TEST_UNIVERSE=$(CURRDIR)/confidential-universe.data && \
29 ./pattern-expander.pl confidential-failures.txt > confidential-failures. txt.expanded 52 ./pattern-expander.pl confidential-failures.txt > confidential-failures. txt.expanded
30 53
31 failures.txt: public-failures.txt.expanded confidential-failures.txt.expanded 54 failures.txt: public-failures.txt.expanded confidential-failures.txt.expanded
32 sort -u public-failures.txt.expanded confidential-failures.txt.expanded > failures.txt 55 sort -u public-failures.txt.expanded confidential-failures.txt.expanded > failures.txt
33 56
34 clean: 57 clean:
35 rm -f menubody.html menu.html menu-list.txt failures.txt *failures.txt.e xpanded excluded-*.tests included-*.tests urllist*.html urllist*.tests 58 rm -f menubody.html menu.html menu-list.txt failures.txt *failures.txt.e xpanded excluded-*.tests included-*.tests urllist*.html urllist*.tests
OLDNEW
« no previous file with comments | « no previous file | mozilla-tests/Patterns.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698