xpcom/tests/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/tests/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.7 +
     1.8 +LIBS += $(XPCOM_LIBS)
     1.9 +
    1.10 +# Make sure we have symbols in case we need to debug these.
    1.11 +MOZ_DEBUG_SYMBOLS = 1
    1.12 +
    1.13 +include $(topsrcdir)/config/rules.mk
    1.14 +
    1.15 +ifneq (,$(SIMPLE_PROGRAMS))
    1.16 +libs::
    1.17 +	$(INSTALL) $(SIMPLE_PROGRAMS) $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/unit
    1.18 +endif
    1.19 +
    1.20 +ifeq (,$(filter-out WINNT, $(HOST_OS_ARCH)))
    1.21 +getnativepath = $(call normalizepath,$(1))
    1.22 +else
    1.23 +getnativepath = $(1)
    1.24 +endif
    1.25 +
    1.26 +abs_srcdir = $(abspath $(srcdir))
    1.27 +
    1.28 +regOrderDir = $(call getnativepath,$(abs_srcdir)/regorder)
    1.29 +
    1.30 +check::
    1.31 +	XPCOM_DEBUG_BREAK=stack-and-abort $(RUN_TEST_PROGRAM) \
    1.32 +	  $(DIST)/bin/TestRegistrationOrder$(BIN_SUFFIX) '$(regOrderDir)'

mercurial