#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH		= ../../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@
relativesrcdir  = layout/forms/test

include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

_TEST_FILES =	test_bug231389.html \
		test_bug287446.html \
		     bug287446_subframe.html \
		test_bug345267.html \
		test_bug348236.html \
		test_bug353539.html \
		test_bug365410.html \
		test_bug378670.html \
		test_bug402198.html \
		test_bug411236.html \
		test_bug446663.html \
		test_bug476308.html \
		test_bug477531.html \
		test_bug477700.html \
		     bug477700_subframe.html \
		test_textarea_resize.html \
		test_bug478219.xhtml \
		test_bug542914.html \
		test_bug534785.html \
		test_bug549170.html \
		test_bug562447.html \
		test_bug563642.html \
		test_bug564115.html \
		bug564115_window.html \
		test_bug377624.html \
		test_bug571352.html \
		test_bug572406.html \
		test_bug572649.html \
		test_bug36619.html \
		test_bug620936.html \
		test_bug595310.html \
		test_bug644542.html \
		test_bug672810.html \
		test_bug704049.html \
		$(NULL)

_CHROME_FILES = \
		test_bug536567.html \
		     bug536567_subframe.html \
		test_bug665540.html \
		     bug665540_window.xul \
		$(NULL)

libs:: $(_TEST_FILES)
	$(INSTALL) $^ $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)

libs:: $(_CHROME_FILES)
	$(INSTALL) $^ $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir)
