Bug 616542 - Shorten file path length of mochitest; r=ted
[gecko.git] / docshell / test / Makefile.in
blob0742311fee659d0a757978d7b230629fdb63d3e1
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) 2007
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 = docshell/test
44 MODULE = test_docshell
46 DIRS += chrome \
47 navigation \
48 $(NULL)
50 XPCSHELL_TESTS = unit
52 include $(DEPTH)/config/autoconf.mk
54 ifneq (mobile,$(MOZ_BUILD_APP))
55 DIRS += browser
56 endif
58 include $(topsrcdir)/config/rules.mk
60 _TEST_FILES = \
61 test_bug94514.html \
62 bug94514-postpage.html \
63 test_bug123696.html \
64 bug123696-subframe.html \
65 test_bug344861.html \
66 test_bug369814.html \
67 bug369814.zip \
68 bug369814.jar \
69 test_bug384014.html \
70 test_bug387979.html \
71 test_bug404548.html \
72 bug404548-subframe.html \
73 test_bug413310.html \
74 bug413310-subframe.html \
75 bug413310-post.sjs \
76 test_bug402210.html \
77 test_bug475636.html \
78 file_bug475636.sjs \
79 test_bug385434.html \
80 file_bug385434_1.html \
81 file_bug385434_2.html \
82 file_bug385434_3.html \
83 test_bug509055.html \
84 file_bug509055.html \
85 test_bug529119-1.html \
86 test_bug529119-2.html \
87 bug529119-window.html \
88 test_bug540462.html \
89 file_bug540462.html \
90 test_bug551225.html \
91 test_bug580069.html \
92 file_bug580069_1.html \
93 file_bug580069_2.sjs \
94 test_bug590573.html \
95 file_bug590573_1.html \
96 file_bug590573_2.html \
97 test_bug598895.html \
98 test_bug634834.html \
99 file_bug634834.html \
100 test_bug637644.html \
101 test_bug640387_1.html \
102 test_bug640387_2.html \
103 file_bug640387.html \
104 test_bug653741.html \
105 file_bug653741.html \
106 test_framedhistoryframes.html \
107 test_windowedhistoryframes.html \
108 historyframes.html \
109 test_bug660404.html \
110 file_bug660404 \
111 file_bug660404^headers^ \
112 test_bug662170.html \
113 file_bug662170.html \
114 test_bug570341.html \
115 bug570341_recordevents.html \
116 test_bug668513.html \
117 bug668513_redirect.html \
118 bug668513_redirect.html^headers^ \
119 test_bug669671.html \
120 file_bug669671.sjs \
121 test_bug675587.html \
122 test_bfcache_plus_hash.html \
123 test_bug680257.html \
124 file_bug680257.html \
125 $(NULL)
127 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
128 _TEST_FILES += \
129 test_bug511449.html \
130 file_bug511449.html \
131 $(NULL)
132 endif
134 libs:: $(_TEST_FILES)
135 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/tests/$(relativesrcdir)