gecko/editor/libeditor/html/tests/Makefile.in

143 lines
4.3 KiB
Makefile

#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is
# Mozilla Foundation.
# Portions created by the Initial Developer are Copyright (C) 2008
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = editor/libeditor/html/tests
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TEST_FILES = \
green.png \
test_bug290026.html \
test_bug291780.html \
test_bug316447.html \
test_bug332636.html \
test_bug332636.html^headers^ \
test_bug372345.html \
test_bug410986.html \
test_bug414526.html \
test_bug417418.html \
test_bug432225.html \
test_bug439808.html \
test_bug442186.html \
test_bug449243.html \
test_bug455992.html \
test_bug456244.html \
test_bug460740.html \
test_bug478725.html \
test_bug480972.html \
test_bug484181.html \
test_bug487524.html \
test_bug520189.html \
test_bug525389.html \
test_bug537046.html \
test_bug549262.html \
file_bug549262.html \
test_bug550434.html \
test_bug551704.html \
test_bug552782.html \
test_bug570144.html \
test_bug592592.html \
test_bug597784.html \
test_bug599322.html \
test_bug607584.html \
test_bug611182.html \
test_bug612447.html \
test_bug620906.html \
test_bug622371.html \
test_bug629845.html \
test_bug640321.html \
test_bug668599.html \
test_bug674770-1.html \
file_bug674770-1.html \
test_bug674770-2.html \
test_bug674861.html \
test_bug676401.html \
test_bug677752.html \
test_bug697842.html \
test_bug725069.html \
test_bug735059.html \
test_CF_HTML_clipboard.html \
test_contenteditable_focus.html \
test_dom_input_event_on_htmleditor.html \
test_htmleditor_keyevent_handling.html \
test_keypress_untrusted_event.html \
test_select_all_without_body.html \
file_select_all_without_body.html \
test_root_element_replacement.html \
test_bug738366.html \
$(NULL)
ifneq (mobile,$(MOZ_BUILD_APP))
_TEST_FILES += test_spellcheck_pref.html \
$(NULL)
endif
_DATA_FILES = \
data/cfhtml-chromium.txt \
data/cfhtml-firefox.txt \
data/cfhtml-ie.txt \
data/cfhtml-ooo.txt \
data/cfhtml-nocontext.txt \
$(NULL)
_CHROME_TEST_FILES = \
test_contenteditable_text_input_handling.html \
test_bug366682.html \
test_bug489202.xul \
test_bug490879.xul \
test_bug607584.xul \
test_bug616590.xul \
test_bug635636.html \
green.png \
$(NULL)
libs:: $(_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - browserscope 2> /dev/null) | (cd $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir) && tar -xf -)
libs:: $(_DATA_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)/data
libs:: $(_CHROME_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir)