Bug 616542 - Shorten file path length of mochitest; r=ted
[gecko.git] / extensions / cookie / test / Makefile.in
blob93fd9f9b93bf8b2415899102b5fe80a4e7ffb58e
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 = extensions/cookie/test
44 include $(DEPTH)/config/autoconf.mk
46 MODULE = test_cookies
48 _TEST_FILES = \
49 test_samedomain.html \
50 file_testcommon.js \
51 file_domain_inner.html \
52 file_domain_inner_inner.html \
53 test_differentdomain.html \
54 test_different_domain_in_hierarchy.html \
55 file_domain_hierarchy_inner.html \
56 file_domain_hierarchy_inner_inner.html \
57 file_domain_hierarchy_inner_inner_inner.html \
58 test_image.html \
59 file_image_inner.html \
60 file_image_inner_inner.html \
61 image1.png \
62 image1.png^headers^ \
63 image2.png \
64 image2.png^headers^ \
65 beltzner.jpg \
66 beltzner.jpg^headers^ \
67 damonbowling.jpg \
68 damonbowling.jpg^headers^ \
69 test1.css \
70 test1.css^headers^ \
71 test2.css \
72 test2.css^headers^ \
73 test_loadflags.html \
74 file_loadflags_inner.html \
75 file_testloadflags.js \
76 test_same_base_domain.html \
77 file_subdomain_inner.html \
78 test_same_base_domain_2.html \
79 test_same_base_domain_3.html \
80 test_same_base_domain_4.html \
81 file_localhost_inner.html \
82 test_same_base_domain_5.html \
83 test_same_base_domain_6.html \
84 file_loopback_inner.html \
85 $(NULL)
87 _BROWSER_TEST_FILES = \
88 browser_test_favicon.js \
89 $(NULL)
91 libs:: $(_TEST_FILES)
92 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/tests/$(relativesrcdir)
94 libs:: $(_BROWSER_TEST_FILES)
95 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/browser/$(relativesrcdir)
97 XPCSHELL_TESTS = unit
99 # FIXME/bug 575918: out-of-process xpcshell is broken on OS X
100 ifneq ($(OS_ARCH),Darwin)
101 XPCSHELL_TESTS += unit_ipc
102 endif
104 include $(topsrcdir)/config/rules.mk