Bug 1197716 - On Android, include fonts in test profile; r=jmaher

This commit is contained in:
Geoff Brown 2015-11-06 12:01:33 -07:00
parent 7ab4f8ab1a
commit b32950bbdb
5 changed files with 11 additions and 1 deletions

View File

@ -236,7 +236,7 @@ class ReftestRunner(MozbuildObject):
kwargs["tests"] = [os.path.join(*default_manifest[kwargs["suite"]])]
kwargs["extraProfileFiles"].append(
os.path.join(self.topobjdir, "dist", "bin", "res", "fonts"))
os.path.join(self.topsrcdir, "mobile", "android", "fonts"))
if not kwargs["httpdPath"]:
kwargs["httpdPath"] = os.path.join(self.tests_dir, "modules")

View File

@ -152,6 +152,7 @@ config = {
"--quiet",
"--log-raw=%(raw_log_file)s",
"--log-errorsummary=%(error_summary_file)s",
"--extra-profile-file=mochitest/fonts",
"--screenshot-on-fail",
],
"run_filename": "runtestsremote.py",
@ -168,6 +169,7 @@ config = {
"--http-port=%(http_port)s",
"--ssl-port=%(ssl_port)s",
"--symbols-path=%(symbols_path)s",
"--extra-profile-file=reftest/fonts",
"--suite=reftest",
],
"tests": ["reftest/tests/layout/reftests/reftest.list"],

View File

@ -73,6 +73,7 @@ config = {
"--quiet",
"--log-raw=%(raw_log_file)s",
"--log-errorsummary=%(error_summary_file)s",
"--extra-profile-file=fonts",
"--screenshot-on-fail",
],
},
@ -140,6 +141,7 @@ config = {
"%(modules_dir)s",
"--symbols-path=%(symbols_path)s",
"--total-chunks=16",
"--extra-profile-file=fonts",
"--suite=reftest",
],
"tests": ["tests/layout/reftests/reftest.list"],

View File

@ -77,6 +77,7 @@ config = {
"--quiet",
"--log-raw=%(raw_log_file)s",
"--log-errorsummary=%(error_summary_file)s",
"--extra-profile-file=fonts",
"--screenshot-on-fail",
],
},
@ -138,6 +139,7 @@ config = {
"--httpd-path", "%(modules_dir)s",
"--symbols-path=%(symbols_path)s",
"--total-chunks=16",
"--extra-profile-file=fonts",
"--suite=reftest",
],
"tests": ["tests/layout/reftests/reftest.list",],
@ -158,6 +160,7 @@ config = {
"--httpd-path", "%(modules_dir)s",
"--symbols-path=%(symbols_path)s",
"--total-chunks=48",
"--extra-profile-file=fonts",
"tests/layout/reftests/reftest.list",
],
},

View File

@ -174,6 +174,7 @@ REMOTE_REFTEST = rm -f ./$@.log && $(PYTHON) _tests/reftest/remotereftest.py \
--dm_trans=$(DM_TRANS) --ignore-window-size \
--app=$(TEST_PACKAGE_NAME) --deviceIP=${TEST_DEVICE} --xre-path=${MOZ_HOST_BIN} \
--httpd-path=_tests/modules --suite reftest \
--extra-profile-file=$(topsrcdir)/mobile/android/fonts \
$(SYMBOLS_PATH) $(EXTRA_TEST_ARGS) $(1) | tee ./$@.log
RUN_REFTEST_B2G = rm -f ./$@.log && $(PYTHON) _tests/reftest/runreftestb2g.py \
@ -489,6 +490,8 @@ endif
$(NSINSTALL) $(DEPTH)/build/mobile/sutagent/android/watcher/Watcher.apk $(PKG_STAGE)/bin
$(NSINSTALL) $(DEPTH)/build/mobile/sutagent/android/fencp/FenCP.apk $(PKG_STAGE)/bin
$(NSINSTALL) $(DEPTH)/build/mobile/sutagent/android/ffxcp/FfxCP.apk $(PKG_STAGE)/bin
$(NSINSTALL) $(topsrcdir)/mobile/android/fonts $(DEPTH)/_tests/reftest
$(NSINSTALL) $(topsrcdir)/mobile/android/fonts $(DEPTH)/_tests/testing/mochitest
stage-jetpack: make-stage-dir
$(MAKE) -C $(DEPTH)/addon-sdk stage-tests-package