зеркало из https://github.com/mozilla/gecko-dev.git
20 строки
514 B
Makefile
20 строки
514 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/.
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
ABS_SRCDIR := $(abspath $(srcdir))
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
check::
|
|
cd $(srcdir)/test; $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) shell.js
|
|
|
|
else
|
|
|
|
check::
|
|
$(RUN_TEST_PROGRAM) $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) $(srcdir)/test/shell.js $(ABS_SRCDIR)/test
|
|
|
|
endif # WINNT
|