xpcom/tests/Makefile.in
author Brian O'Keefe <bokeefe@alum.wpi.edu>
Fri, 13 Feb 2015 08:11:57 -0500
changeset 264876 27005ff563d0522b4e82ace30481b72daa4e5fbb
parent 260363 5f39146b24ae890740b7c1bb3ccce190672bbf34
child 333938 e8fc85ba94d7de61d31df48eb91c59b632390f6b
child 355612 c17ddad0936ee76b9736c60d302c698d1e3e9cd2
child 355666 6d3a1a01b5174ed003e462ae17da373e762600fa
permissions -rw-r--r--
Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal

# 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)'