mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
c6ba641724
--HG-- extra : rebase_source : 2d2cbc1ebc97496c54aef63de73b00af8126e750
31 lines
895 B
Makefile
31 lines
895 B
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/.
|
|
|
|
# Make sure we have symbols in case we need to debug these.
|
|
MOZ_DEBUG_SYMBOLS = 1
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
ifneq (,$(SIMPLE_PROGRAMS))
|
|
libs::
|
|
$(INSTALL) $(SIMPLE_PROGRAMS) $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit
|
|
endif
|
|
|
|
libs::
|
|
$(INSTALL) $(DIST)/bin/components/xpcomtest.xpt $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit
|
|
|
|
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)'
|