Merge mozilla-central and tracemonkey. (a=blockers)
[mozilla-central.git] / docshell / test / Makefile.in
blob39510a6a9d868007b3db08af4c106c669c789462
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_bug580069.html \
91 file_bug580069_1.html \
92 file_bug580069_2.sjs \
93 test_bug590573.html \
94 file_bug590573_1.html \
95 file_bug590573_2.html \
96 test_bug615501_1.html \
97 test_bug615501_2.html \
98 test_bug615501_3.html \
99 file_bug615501.html \
100 $(NULL)
102 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
103 _TEST_FILES += \
104 test_bug511449.html \
105 file_bug511449.html \
106 $(NULL)
107 endif
109 libs:: $(_TEST_FILES)
110 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)