mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
8a462fd84b
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we can modify the format without breaking things, and we can stream results into systems like ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is used to generate the JSON-based log stream. Finally OutputHandler in the python harness reads structured output from stdout, and formats it into human readable form. --HG-- extra : commitid : J3ui9XYWR3Q extra : rebase_source : 6bae978126dbd5beddc39332c7cbce0c1354cd87 extra : amend_source : 735d48225a2e627e0fe45fc11b50b6c49a885a4b
53 lines
1.9 KiB
Makefile
53 lines
1.9 KiB
Makefile
# vim: set shiftwidth=8 tabstop=8 autoindent noexpandtab copyindent:
|
|
# 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/.
|
|
|
|
_DEST_DIR = $(DEPTH)/_tests/reftest
|
|
|
|
_HARNESS_FILES = \
|
|
$(srcdir)/runreftest.py \
|
|
$(srcdir)/reftestcommandline.py \
|
|
$(srcdir)/remotereftest.py \
|
|
$(srcdir)/runreftestb2g.py \
|
|
$(srcdir)/runreftestmulet.py \
|
|
$(srcdir)/gaia_lock_screen.js \
|
|
$(srcdir)/output.py \
|
|
automation.py \
|
|
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/devicemanager.py \
|
|
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/devicemanagerADB.py \
|
|
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/devicemanagerSUT.py \
|
|
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/droid.py \
|
|
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/version_codes.py \
|
|
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/Zeroconf.py \
|
|
$(topsrcdir)/testing/mozbase/moznetwork/moznetwork/moznetwork.py \
|
|
$(topsrcdir)/build/mobile/b2gautomation.py \
|
|
$(topsrcdir)/build/mobile/remoteautomation.py \
|
|
$(topsrcdir)/testing/mochitest/server.js \
|
|
$(topsrcdir)/build/pgo/server-locations.txt \
|
|
$(NULL)
|
|
|
|
_HARNESS_PP_FILES = \
|
|
b2g_start_script.js \
|
|
$(NULL)
|
|
_HARNESS_PP_FILES_PATH = $(_DEST_DIR)
|
|
PP_TARGETS += _HARNESS_PP_FILES
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
# We're installing to _tests/reftest
|
|
TARGET_DEPTH = ../..
|
|
include $(topsrcdir)/build/automation-build.mk
|
|
|
|
$(_DEST_DIR):
|
|
$(NSINSTALL) -D $@
|
|
|
|
$(_HARNESS_FILES): $(_DEST_DIR)
|
|
|
|
# copy harness and the reftest extension bits to $(_DEST_DIR)
|
|
# This needs to happen after jar.mn handling from rules.mk included above.
|
|
# The order of the :: rules ensures that.
|
|
libs:: $(_HARNESS_FILES) $(addprefix $(_DEST_DIR)/,$(_HARNESS_PP_FILES))
|
|
$(INSTALL) $(_HARNESS_FILES) $(_DEST_DIR)
|
|
(cd $(DIST)/xpi-stage && tar $(TAR_CREATE_FLAGS) - reftest) | (cd $(_DEST_DIR) && tar -xf -)
|