Bug 616542 - Shorten file path length of mochitest; r=ted
[gecko.git] / toolkit / mozapps / downloads / tests / chrome / Makefile.in
blob805d85ba09e2772147022a14a94ef9aada925299
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 code.
17 # The Initial Developer of the Original Code is
18 # Mozilla Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 2008
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
23 # Shawn Wilsher <me@shawnwilsher.com> (Original Author)
24 # Edward Lee <edward.lee@engineering.uiuc.edu>
26 # Alternatively, the contents of this file may be used under the terms of
27 # either the GNU General Public License Version 2 or later (the "GPL"), or
28 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 # in which case the provisions of the GPL or the LGPL are applicable instead
30 # of those above. If you wish to allow use of your version of this file only
31 # under the terms of either the GPL or the LGPL, and not to allow others to
32 # use your version of this file under the terms of the MPL, indicate your
33 # decision by deleting the provisions above and replace them with the notice
34 # and other provisions required by the GPL or the LGPL. If you do not delete
35 # the provisions above, a recipient may use your version of this file under
36 # the terms of any one of the MPL, the GPL or the LGPL.
38 # ***** END LICENSE BLOCK *****
40 DEPTH = ../../../../..
41 topsrcdir = @top_srcdir@
42 srcdir = @srcdir@
43 VPATH = @srcdir@
44 relativesrcdir = toolkit/mozapps/downloads/tests/chrome
46 include $(DEPTH)/config/autoconf.mk
47 include $(topsrcdir)/config/rules.mk
49 # temporarily disabled test (bug 483200)
50 # test_retention_is_0_closes.xul \
52 _CHROME_FILES = \
53 test_basic_functionality.xul \
54 test_cleanup_search.xul \
55 test_clear_button_disabled.xul \
56 test_close_download_manager.xul \
57 test_delete_key_removes.xul \
58 test_esc_key_closes_clears.xul \
59 test_multi_select.xul \
60 test_multiword_search.xul \
61 test_pause_button_state.xul \
62 test_removeDownload_updates_ui.xul \
63 test_search_clearlist.xul \
64 test_search_keys.xul \
65 test_select_all.xul \
66 test_space_key_pauses_resumes.xul \
67 test_privatebrowsing_title.xul \
68 test_ui_stays_open_on_alert_clickback.xul \
69 test_unknownContentType_dialog_layout.xul \
70 test_bug_412360.xul \
71 test_bug_429247.xul \
72 test_bug_462172.xul \
73 test_close_on_last_window.xul \
74 unknownContentType_dialog_layout_data.txt \
75 unknownContentType_dialog_layout_data.txt^headers^ \
76 unknownContentType_dialog_layout_data.pif \
77 unknownContentType_dialog_layout_data.pif^headers^ \
78 utils.js \
79 $(NULL)
80 ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))
81 _CHROME_FILES += \
82 test_backspace_key_removes.xul \
83 $(NULL)
84 endif
86 ifeq ($(OS_ARCH),WINNT)
87 _CHROME_FILES += \
88 test_taskbarprogress_downloadstates.xul \
89 test_taskbarprogress_service.xul \
90 $(NULL)
91 endif
93 libs:: $(_CHROME_FILES)
94 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/chrome/$(relativesrcdir)