Index: mozilla-tests/Makefile |
=================================================================== |
--- mozilla-tests/Makefile (revision 43940) |
+++ mozilla-tests/Makefile (working copy) |
@@ -19,13 +19,36 @@ |
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 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 universe.data |
+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 |