Enable Python-based Mojo unit tests on the CQ
This is a resurrected suite of Python unit tests covering the mojom IDL parser. As efforts ramp up to improve, stabilize, and export the parser, CI coverage of this code will become increasingly important. A new GN target is introduced to aggregate the Python library and its test dependencies, including the third-party libraries jinja2 and ply, and a new mojo_python_unittests target aggregates all of this along with a test runner script. The name is generic enough to encompass tests for any future Python-based Mojo tools as well (e.g. for specific generators in the Chromium tree). The new test step (which currently runs about 90 tests in about 1.5s on a cheap device) is added to a few desktop bot configurations. Bug: 1060473 Change-Id: Ib38765acd148739e7a5edb94457a858d2490cf8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100014 Commit-Queue: Ken Rockot <rockot@google.com> Reviewed-by: Ben Pastene <bpastene@chromium.org> Cr-Commit-Position: refs/heads/master@{#750030}
This commit is contained in:
@ -27,6 +27,7 @@ group("tests") {
|
||||
":mojo_perftests",
|
||||
":mojo_unittests",
|
||||
"//ipc:ipc_tests",
|
||||
"//mojo/public/tools:mojo_python_unittests",
|
||||
"//services/service_manager/tests",
|
||||
]
|
||||
}
|
||||
|
18
mojo/public/tools/BUILD.gn
Normal file
18
mojo/public/tools/BUILD.gn
Normal file
@ -0,0 +1,18 @@
|
||||
# Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# The main target used to aggregate all unit tests for Python-based Mojo tools.
|
||||
# This is used to generate a complete isolate which can be pushed to bots to run
|
||||
# the tests.
|
||||
group("mojo_python_unittests") {
|
||||
data = [
|
||||
"run_all_python_unittests.py",
|
||||
"//testing/scripts/common.py",
|
||||
"//testing/scripts/run_isolated_script_test.py",
|
||||
"//testing/test_env.py",
|
||||
"//testing/xvfb.py",
|
||||
]
|
||||
deps = [ "//mojo/public/tools/mojom/mojom:tests" ]
|
||||
data_deps = [ "//third_party/catapult/third_party/typ/" ]
|
||||
}
|
43
mojo/public/tools/mojom/mojom/BUILD.gn
Normal file
43
mojo/public/tools/mojom/mojom/BUILD.gn
Normal file
@ -0,0 +1,43 @@
|
||||
# Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
group("mojom") {
|
||||
data = [
|
||||
"__init__.py",
|
||||
"error.py",
|
||||
"fileutil.py",
|
||||
"generate/__init__.py",
|
||||
"generate/constant_resolver.py",
|
||||
"generate/generator.py",
|
||||
"generate/module.py",
|
||||
"generate/pack.py",
|
||||
"generate/template_expander.py",
|
||||
"generate/translate.py",
|
||||
"parse/__init__.py",
|
||||
"parse/ast.py",
|
||||
"parse/conditional_features.py",
|
||||
"parse/lexer.py",
|
||||
"parse/parser.py",
|
||||
|
||||
# Third-party module dependencies
|
||||
"//third_party/jinja2/",
|
||||
"//third_party/ply/",
|
||||
]
|
||||
}
|
||||
|
||||
group("tests") {
|
||||
data = [
|
||||
"fileutil_unittest.py",
|
||||
"generate/generator_unittest.py",
|
||||
"generate/module_unittest.py",
|
||||
"generate/pack_unittest.py",
|
||||
"generate/translate_unittest.py",
|
||||
"parse/ast_unittest.py",
|
||||
"parse/conditional_features_unittest.py",
|
||||
"parse/lexer_unittest.py",
|
||||
"parse/parser_unittest.py",
|
||||
]
|
||||
|
||||
public_deps = [ ":mojom" ]
|
||||
}
|
28
mojo/public/tools/run_all_python_unittests.py
Executable file
28
mojo/public/tools/run_all_python_unittests.py
Executable file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
import os.path
|
||||
import sys
|
||||
|
||||
_TOOLS_DIR = os.path.dirname(__file__)
|
||||
_MOJOM_DIR = os.path.join(_TOOLS_DIR, 'mojom')
|
||||
_SRC_DIR = os.path.join(_TOOLS_DIR, os.path.pardir, os.path.pardir,
|
||||
os.path.pardir)
|
||||
|
||||
# Ensure that the mojom library is discoverable.
|
||||
sys.path.append(_MOJOM_DIR)
|
||||
|
||||
# Help Python find typ in //third_party/catapult/third_party/typ/
|
||||
sys.path.append(
|
||||
os.path.join(_SRC_DIR, 'third_party', 'catapult', 'third_party', 'typ'))
|
||||
import typ
|
||||
|
||||
|
||||
def Main():
|
||||
return typ.main(top_level_dir=_MOJOM_DIR)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(Main())
|
@ -48333,6 +48333,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"os": "Ubuntu-16.04"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"args": [
|
||||
"--num-retries=3",
|
||||
@ -67902,6 +67921,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.10"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -69587,6 +69625,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.11"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -71272,6 +71329,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "8086:0a2e",
|
||||
"os": "Mac-10.12.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -72987,6 +73063,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.13.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -76453,6 +76548,26 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.13.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
@ -78202,6 +78317,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.14.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -107044,6 +107178,19 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -109397,6 +109544,19 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -127728,6 +127888,19 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_name": "polymer_tools_python_unittests",
|
||||
@ -137367,6 +137540,25 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"cpu": "x86-64",
|
||||
"os": "Windows-10-15063"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_name": "polymer_tools_python_unittests",
|
||||
@ -141466,6 +141658,25 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"cpu": "x86-64",
|
||||
"os": "Windows-10-17134"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_name": "polymer_tools_python_unittests",
|
||||
@ -143697,6 +143908,26 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"cpu": "x86-64",
|
||||
"os": "Windows-10-15063"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_coverage_data": true,
|
||||
@ -151229,6 +151460,19 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_name": "polymer_tools_python_unittests",
|
||||
@ -206519,6 +206763,24 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"os": "Ubuntu-16.04"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"args": [
|
||||
"--num-retries=3",
|
||||
@ -208449,6 +208711,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"os": "Ubuntu-16.04"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"args": [
|
||||
"--num-retries=3",
|
||||
@ -211572,6 +211853,24 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"os": "Ubuntu-14.04"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"args": [
|
||||
"--num-retries=3",
|
||||
@ -216734,6 +217033,26 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "8086:0a2e",
|
||||
"os": "Mac-10.15"
|
||||
}
|
||||
],
|
||||
"expiration": 21600,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
|
@ -23110,6 +23110,19 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -25463,6 +25476,19 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
|
@ -3918,6 +3918,25 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"cpu": "x86-64",
|
||||
"os": "Windows-10-17134"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_name": "polymer_tools_python_unittests",
|
||||
@ -25641,6 +25660,24 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"os": "Ubuntu-16.04"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"args": [
|
||||
"--num-retries=3",
|
||||
@ -27571,6 +27608,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"os": "Ubuntu-16.04"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"args": [
|
||||
"--num-retries=3",
|
||||
@ -31130,6 +31186,26 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "8086:0a2e",
|
||||
"os": "Mac-10.15"
|
||||
}
|
||||
],
|
||||
"expiration": 21600,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
|
@ -4486,6 +4486,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"os": "Ubuntu-16.04"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"args": [
|
||||
"--num-retries=3",
|
||||
@ -8250,6 +8269,24 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"os": "Ubuntu-14.04"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"args": [
|
||||
"--num-retries=3",
|
||||
|
@ -1636,6 +1636,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.10"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -3321,6 +3340,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.11"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -5006,6 +5044,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "8086:0a2e",
|
||||
"os": "Mac-10.12.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -6721,6 +6778,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.13.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
@ -10187,6 +10263,26 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.13.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
@ -11936,6 +12032,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.14.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
|
@ -1870,6 +1870,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.13.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
|
@ -1340,6 +1340,19 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_name": "polymer_tools_python_unittests",
|
||||
@ -3519,6 +3532,25 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"cpu": "x86-64",
|
||||
"os": "Windows-10-15063"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_name": "polymer_tools_python_unittests",
|
||||
@ -7735,6 +7767,26 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_coverage_data": true,
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"cpu": "x86-64",
|
||||
"os": "Windows-10-15063"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_coverage_data": true,
|
||||
@ -9238,6 +9290,19 @@
|
||||
},
|
||||
"test_target": "//chrome/test/mini_installer:mini_installer_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"experiment_percentage": 100,
|
||||
"isolate_name": "polymer_tools_python_unittests",
|
||||
|
@ -1244,6 +1244,14 @@
|
||||
"label": "//mojo/core:mojo_core_unittests",
|
||||
"type": "console_test_launcher",
|
||||
},
|
||||
"mojo_python_unittests": {
|
||||
"args": [
|
||||
"../../mojo/public/tools/run_all_python_unittests.py",
|
||||
],
|
||||
"label": "//mojo/public/tools:mojo_python_unittests",
|
||||
"script": "//testing/scripts/run_isolated_script_test.py",
|
||||
"type": "script",
|
||||
},
|
||||
"mojo_test_apk": {
|
||||
"label": "//mojo/public/java/system:mojo_test_apk",
|
||||
"type": "console_test_launcher",
|
||||
|
@ -2987,6 +2987,10 @@
|
||||
'wayland_client_perftests': {},
|
||||
},
|
||||
|
||||
'mojo_python_unittests_isolated_scripts': {
|
||||
'mojo_python_unittests': {},
|
||||
},
|
||||
|
||||
'mojo_windows_specific_gtests': {
|
||||
'services_unittests': {},
|
||||
},
|
||||
@ -4069,6 +4073,7 @@
|
||||
'chromedriver_py_tests_isolated_scripts',
|
||||
'desktop_chromium_isolated_scripts',
|
||||
'linux_specific_chromium_isolated_scripts',
|
||||
'mojo_python_unittests_isolated_scripts',
|
||||
'skia_renderer_isolated_scripts',
|
||||
'telemetry_perf_unittests_isolated_scripts',
|
||||
],
|
||||
@ -4087,6 +4092,7 @@
|
||||
'components_perftests_isolated_scripts',
|
||||
'desktop_chromium_isolated_scripts',
|
||||
'mac_specific_isolated_scripts',
|
||||
'mojo_python_unittests_isolated_scripts',
|
||||
'telemetry_perf_unittests_isolated_scripts',
|
||||
],
|
||||
|
||||
@ -4130,6 +4136,7 @@
|
||||
'chromedriver_py_tests_isolated_scripts',
|
||||
'components_perftests_isolated_scripts',
|
||||
'desktop_chromium_isolated_scripts',
|
||||
'mojo_python_unittests_isolated_scripts',
|
||||
'telemetry_perf_unittests_isolated_scripts',
|
||||
'win_specific_isolated_scripts',
|
||||
],
|
||||
|
@ -1621,6 +1621,25 @@
|
||||
},
|
||||
"test_target": "//tools/metrics:metrics_python_tests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "mojo_python_unittests",
|
||||
"merge": {
|
||||
"args": [],
|
||||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
|
||||
},
|
||||
"name": "mojo_python_unittests",
|
||||
"swarming": {
|
||||
"can_use_on_swarming_builders": true,
|
||||
"dimension_sets": [
|
||||
{
|
||||
"gpu": "none",
|
||||
"os": "Mac-10.13.6"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
},
|
||||
"test_target": "//mojo/public/tools:mojo_python_unittests"
|
||||
},
|
||||
{
|
||||
"isolate_name": "telemetry_gpu_unittests",
|
||||
"merge": {
|
||||
|
Reference in New Issue
Block a user