# 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 = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = dom/imported-tests

DIRS = \
  failures/editing/conformancetest \
  failures/editing/selecttest \
  failures/html/tests/submission/Opera/microdata \
  failures/webapps/DOMCore/tests/approved \
  failures/webapps/DOMCore/tests/submissions/Ms2ger \
  failures/webapps/DOMCore/tests/submissions/Opera \
  failures/webapps/WebStorage/tests/submissions/Infraware \
  failures/webapps/WebStorage/tests/submissions/Ms2ger \
  failures/webapps/XMLHttpRequest/tests/submissions/Ms2ger \
  $(NULL)

include $(srcdir)/editing.mk
include $(srcdir)/html.mk
include $(srcdir)/webapps.mk
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

_SUPPORT_FILES = \
  testharness.js \
  testharnessreport.js \
  testharness.css \
  idlharness.js \
  WebIDLParser.js \
  $(NULL)

libs:: $(_SUPPORT_FILES)
	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/resources
