gecko/toolkit/components/places/tests/Makefile.in
2012-05-21 12:12:37 +01:00

60 lines
1.1 KiB
Makefile

#
# 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 = toolkit/components/places/tests
include $(DEPTH)/config/autoconf.mk
MODULE = test_places
XPCSHELL_TESTS = \
autocomplete \
bookmarks \
expiration \
favicons \
inline \
migration \
network \
queries \
unit \
$(NULL)
# Files in the main "tests" folder.
XPCSHELL_TESTS_COMMON = \
head_common.js \
$(NULL)
# Simple MochiTests
MOCHI_TESTS = \
mochitest/test_bug_411966.html \
mochitest/test_bug_461710.html \
$(NULL)
DIRS = \
chrome \
mochitest/bug_411966 \
mochitest/bug_461710 \
$(NULL)
ifneq (mobile,$(MOZ_BUILD_APP))
DIRS += browser
endif
TOOL_DIRS = \
cpp \
$(NULL)
include $(topsrcdir)/config/rules.mk
libs:: $(MOCHI_TESTS)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
libs:: $(XPCSHELL_TESTS_COMMON)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/xpcshell/$(relativesrcdir)