2006-09-06 01:50:54 +04:00
|
|
|
# vim: set shiftwidth=8 tabstop=8 autoindent noexpandtab copyindent:
|
2012-05-21 15:12:37 +04:00
|
|
|
# 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/.
|
2006-09-06 01:50:54 +04:00
|
|
|
|
2009-02-12 16:49:53 +03:00
|
|
|
_DEST_DIR = $(DEPTH)/_tests/reftest
|
|
|
|
|
|
|
|
_HARNESS_FILES = \
|
|
|
|
$(srcdir)/runreftest.py \
|
2015-08-25 16:07:23 +03:00
|
|
|
$(srcdir)/reftestcommandline.py \
|
2010-03-16 01:35:59 +03:00
|
|
|
$(srcdir)/remotereftest.py \
|
2012-08-10 22:25:20 +04:00
|
|
|
$(srcdir)/runreftestb2g.py \
|
2015-11-27 21:56:43 +03:00
|
|
|
$(srcdir)/runreftestmulet.py \
|
2014-11-04 17:18:27 +03:00
|
|
|
$(srcdir)/gaia_lock_screen.js \
|
2016-02-05 23:44:20 +03:00
|
|
|
$(srcdir)/output.py \
|
2009-02-12 16:49:53 +03:00
|
|
|
automation.py \
|
2012-08-10 22:25:20 +04:00
|
|
|
$(topsrcdir)/build/mobile/b2gautomation.py \
|
2010-06-24 13:32:01 +04:00
|
|
|
$(topsrcdir)/build/mobile/remoteautomation.py \
|
2010-07-27 05:43:34 +04:00
|
|
|
$(topsrcdir)/testing/mochitest/server.js \
|
|
|
|
$(topsrcdir)/build/pgo/server-locations.txt \
|
2009-02-12 16:49:53 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2014-03-29 07:13:25 +04:00
|
|
|
_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
|
|
|
|
|
2009-02-12 16:49:53 +03:00
|
|
|
$(_DEST_DIR):
|
|
|
|
$(NSINSTALL) -D $@
|
|
|
|
|
|
|
|
$(_HARNESS_FILES): $(_DEST_DIR)
|
|
|
|
|
|
|
|
# copy harness and the reftest extension bits to $(_DEST_DIR)
|
2014-12-16 09:07:01 +03:00
|
|
|
# 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))
|
2009-02-12 18:13:51 +03:00
|
|
|
$(INSTALL) $(_HARNESS_FILES) $(_DEST_DIR)
|
2009-02-12 16:49:53 +03:00
|
|
|
(cd $(DIST)/xpi-stage && tar $(TAR_CREATE_FLAGS) - reftest) | (cd $(_DEST_DIR) && tar -xf -)
|