Bug 1098508 - Add support for scheduling Android jit tests, but don't run them yet; r=me,a=test-only

Android jit tests are not ready to run yet: They may not run green, there are concerns about
capacity, etc. I am adding this support now to make it more convenient to debug on try.

--HG--
extra : rebase_source : 00bc5bf21fec3c130133b0de322b1f37250893c3
This commit is contained in:
Geoff Brown 2018-03-22 16:33:15 -06:00
parent 2fef0dedc3
commit feca6aae6f
4 changed files with 24 additions and 0 deletions

View File

@ -60,6 +60,10 @@ jittest:
description: "JIT Test run"
suite: jittest/jittest-chunked
treeherder-symbol: Jit
instance-size:
by-test-platform:
android.*: xlarge
default: default
run-on-projects:
by-test-platform:
.*-qr/.*: ['mozilla-central', 'try']
@ -69,6 +73,8 @@ jittest:
windows.*: 1
windows10-64-ccov/debug: 6
macosx.*: 1
android-4.3-arm7-api-15/debug: 20
android.*: 10
default: 6
max-run-time:
by-test-platform:

View File

@ -303,6 +303,7 @@ desktop-instrumentation:
android-common-tests:
- cppunit
- crashtest
# - jittest # not ready yet: bug 1098508
- jsreftest
- mochitest
- mochitest-chrome

View File

@ -186,6 +186,21 @@ config = {
],
"tests": ["tests/testing/crashtest/crashtests.list",],
},
"jittest": {
"run_filename": "jit_test.py",
"testsdir": "jit-test/jit-test",
"options": [
"../../bin/js",
"--remote",
"-j",
"1",
"--localLib=../../bin",
"--no-slow",
"--no-progress",
"--format=automation",
"--jitflags=all",
],
},
"jsreftest": {
"run_filename": "remotereftest.py",
"testsdir": "reftest",

View File

@ -116,6 +116,8 @@ class AndroidEmulatorTest(TestingMixin, EmulatorMixin, BaseScript, MozbaseMixin)
dirs = {}
dirs['abs_test_install_dir'] = os.path.join(
abs_dirs['abs_work_dir'], 'tests')
dirs['abs_test_bin_dir'] = os.path.join(
abs_dirs['abs_work_dir'], 'tests', 'bin')
dirs['abs_xre_dir'] = os.path.join(
abs_dirs['abs_work_dir'], 'hostutils')
dirs['abs_modules_dir'] = os.path.join(