gecko-dev/xpcom/tests/Makefile.in

38 строки
1.1 KiB
Makefile
Исходник Обычный вид История

2012-05-21 15:12:37 +04:00
# 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/.
1998-08-20 00:42:14 +04:00
# Make sure we have symbols in case we need to debug these.
MOZ_DEBUG_SYMBOLS = 1
# Don't add our test-only .xpt files to the normal manifests
NO_INTERFACES_MANIFEST = 1
1999-07-23 03:20:25 +04:00
include $(topsrcdir)/config/rules.mk
ifneq (,$(SIMPLE_PROGRAMS))
test_programs_FILES = $(SIMPLE_PROGRAMS)
test_programs_DEST := $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit
test_programs_TARGET := misc
INSTALL_TARGETS += test_programs
endif
xpcomtest_FILES := $(DIST)/bin/components/xpcomtest.xpt
xpcomtest_DEST := $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit
xpcomtest_TARGET := misc
INSTALL_TARGETS += xpcomtest
ifeq (,$(filter-out WINNT, $(HOST_OS_ARCH)))
getnativepath = $(call normalizepath,$(1))
else
getnativepath = $(1)
endif
abs_srcdir = $(abspath $(srcdir))
regOrderDir = $(call getnativepath,$(abs_srcdir)/regorder)
check::
XPCOM_DEBUG_BREAK=stack-and-abort $(RUN_TEST_PROGRAM) \
$(DIST)/bin/TestRegistrationOrder$(BIN_SUFFIX) '$(regOrderDir)'