mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 485736 - Add (TUnit) 'xpcshell-tests' |make| target, using |runxpcshelltests.py| new '--manifest' option; (Av2-MC) Add target; r=ted.mielczarek
This commit is contained in:
parent
dfb2902a9e
commit
770f2bd1e3
@ -19,6 +19,7 @@
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Serge Gautherie <sgautherie.bz@free.fr>
|
||||
# Ted Mielczarek <ted.mielczarek@gmail.com>
|
||||
#
|
||||
# Alternatively, the contents of this file may be used under the terms of
|
||||
@ -35,6 +36,7 @@
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
|
||||
|
||||
# Usage: |make [EXTRA_TEST_ARGS=...] mochitest*|.
|
||||
mochitest:: mochitest-plain mochitest-chrome mochitest-a11y
|
||||
|
||||
@ -71,6 +73,7 @@ mochitest-a11y:
|
||||
$(RUN_MOCHITEST) --a11y
|
||||
$(CHECK_TEST_ERROR)
|
||||
|
||||
|
||||
# Usage: |make [EXTRA_TEST_ARGS=...] *test|.
|
||||
RUN_REFTEST = rm -f ./$@.log && $(PYTHON) _tests/reftest/runreftest.py $(EXTRA_TEST_ARGS) $(1) | tee ./$@.log
|
||||
|
||||
@ -82,6 +85,15 @@ crashtest:
|
||||
$(call RUN_REFTEST,$(topsrcdir)/testing/crashtest/crashtests.list)
|
||||
$(CHECK_TEST_ERROR)
|
||||
|
||||
|
||||
# Execute all xpcshell tests in the directories listed in the manifest.
|
||||
xpcshell-tests:
|
||||
$(PYTHON) -u \
|
||||
$(topsrcdir)/testing/xpcshell/runxpcshelltests.py \
|
||||
--manifest=$(DEPTH)/_tests/xpcshell/all-test-dirs.list \
|
||||
$(DIST)/bin/xpcshell
|
||||
|
||||
|
||||
# Package up the tests and test harnesses
|
||||
include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
|
||||
|
||||
@ -102,6 +114,9 @@ stage-reftest: make-stage-dir
|
||||
stage-xpcshell: make-stage-dir
|
||||
$(MAKE) -C $(DEPTH)/testing/xpcshell stage-package
|
||||
|
||||
.PHONY: mochitest mochitest-plain mochitest-chrome mochitest-a11y \
|
||||
reftest crashtest package-tests make-stage-dir stage-mochitest \
|
||||
stage-reftest stage-xpcshell
|
||||
|
||||
.PHONY: \
|
||||
mochitest mochitest-plain mochitest-chrome mochitest-a11y \
|
||||
reftest crashtest \
|
||||
xpcshell-tests \
|
||||
package-tests make-stage-dir stage-mochitest stage-reftest stage-xpcshell
|
||||
|
Loading…
Reference in New Issue
Block a user