Bug 616542 - Shorten file path length of mochitest; r=ted
[gecko.git] / image / test / mochitest / Makefile.in
blobfe20d065c4689a6cc83fb6db0b17b4425c518926
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is mozilla.org code.
17 # The Initial Developer of the Original Code is
18 # Mozilla Foundation.
19 # Portions created by the Initial Developer are Copyright (C) 2008
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
24 # Alternatively, the contents of this file may be used under the terms of
25 # either of the GNU General Public License Version 2 or later (the "GPL"),
26 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
38 DEPTH = ../../..
39 topsrcdir = @top_srcdir@
40 srcdir = @srcdir@
41 VPATH = @srcdir@
42 relativesrcdir = image/test/mochitest
44 include $(DEPTH)/config/autoconf.mk
45 include $(topsrcdir)/config/rules.mk
47 _TEST_FILES = imgutils.js \
48 lime100x100.svg \
49 test_bug399925.html \
50 bug399925.gif \
51 schrep.png \
52 bug468160.sjs \
53 test_bug468160.html \
54 red.png \
55 test_bug466586.html \
56 big.png \
57 blue.png \
58 bug478398_ONLY.png \
59 test_bug490949.html \
60 bug490949-iframe.html \
61 bug490949.sjs \
62 test_bug496292.html \
63 bug496292-iframe-ref.html \
64 bug496292-iframe-1.html \
65 bug496292-iframe-2.html \
66 bug496292-1.sjs \
67 bug496292-2.sjs \
68 test_bug512435.html \
69 damon.jpg \
70 shaver.png \
71 test_bug497665.html \
72 bug497665-iframe.html \
73 bug497665.sjs \
74 test_bug553982.html \
75 test_bug601470.html \
76 test_bug614392.html \
77 test_bug657191.html \
78 bug657191.sjs \
79 bug89419-iframe.html \
80 bug89419.sjs \
81 test_bug89419-1.html \
82 test_bug89419-2.html \
83 test_bug552605-1.html \
84 test_bug552605-2.html \
85 bug552605.sjs \
86 bug671906-iframe.html \
87 bug671906.sjs \
88 test_bug671906.html \
89 $(NULL)
91 # Tests disabled due to intermittent orange
92 # test_bug435296.html disabled - See bug 578591
93 # test_bug478398.html disabled - See bug 579139
95 _CHROME_FILES = imgutils.js \
96 lime-anim-100x100.svg \
97 test_animSVGImage.html \
98 $(NULL)
100 libs:: $(_TEST_FILES)
101 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/tests/$(relativesrcdir)
103 libs:: $(_CHROME_FILES)
104 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/chrome/$(relativesrcdir)