From 2f7071a57aa9fc06f6de526ed4e10aecc7b00c83 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Wed, 15 Mar 2023 08:16:39 +0000 Subject: [PATCH] Add webrtc_nonparallel_tests to Fuchsia bots. Bug: None Change-Id: Icdb18969dda11a045232bea0f8eaa476bb474f69 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/297720 Commit-Queue: Mirko Bonadei Reviewed-by: Christoffer Jansson Cr-Commit-Position: refs/heads/main@{#39562} --- infra/specs/client.webrtc.json | 28 ++++++++++++++++++++++++++++ infra/specs/test_suites.pyl | 1 + infra/specs/tryserver.webrtc.json | 28 ++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/infra/specs/client.webrtc.json b/infra/specs/client.webrtc.json index bd5d5564a7..7ca310eb87 100644 --- a/infra/specs/client.webrtc.json +++ b/infra/specs/client.webrtc.json @@ -2499,6 +2499,34 @@ ] }, "test_id_prefix": "ninja://:voip_unittests/" + }, + { + "args": [ + "--test-launcher-summary-output=${ISOLATED_OUTDIR}/gtest_output.json", + "--test-arg=--gtest_output=json:/custom_artifacts/gtest_output.json", + "--test-arg=--undefok=test_launcher_summary_output", + "--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json" + ], + "isolate_name": "webrtc_nonparallel_tests", + "merge": { + "args": [], + "script": "//testing/merge_scripts/standard_isolated_script_merge.py" + }, + "name": "webrtc_nonparallel_tests", + "resultdb": { + "result_file": "${ISOLATED_OUTDIR}/gtest_output.json", + "result_format": "gtest_json" + }, + "swarming": { + "can_use_on_swarming_builders": true, + "dimension_sets": [ + { + "cpu": "x86-64", + "os": "Ubuntu-18.04" + } + ] + }, + "test_id_prefix": "ninja://:webrtc_nonparallel_tests/" } ] }, diff --git a/infra/specs/test_suites.pyl b/infra/specs/test_suites.pyl index 2ec8902c5a..441da592c6 100644 --- a/infra/specs/test_suites.pyl +++ b/infra/specs/test_suites.pyl @@ -148,6 +148,7 @@ 'mixins': ['shards-4'], }, 'voip_unittests': {}, + 'webrtc_nonparallel_tests': {}, # TODO(bugs.fuchsia.dev/115601): Enable when cpu time API's are implemented in Fuchsia # 'test_support_unittests': {}, # TODO(bugs.webrtc.org/14707): chromium.test component needs to allow creating listening ports. diff --git a/infra/specs/tryserver.webrtc.json b/infra/specs/tryserver.webrtc.json index 56c8e3f08e..b682dfabf4 100644 --- a/infra/specs/tryserver.webrtc.json +++ b/infra/specs/tryserver.webrtc.json @@ -2609,6 +2609,34 @@ ] }, "test_id_prefix": "ninja://:voip_unittests/" + }, + { + "args": [ + "--test-launcher-summary-output=${ISOLATED_OUTDIR}/gtest_output.json", + "--test-arg=--gtest_output=json:/custom_artifacts/gtest_output.json", + "--test-arg=--undefok=test_launcher_summary_output", + "--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json" + ], + "isolate_name": "webrtc_nonparallel_tests", + "merge": { + "args": [], + "script": "//testing/merge_scripts/standard_isolated_script_merge.py" + }, + "name": "webrtc_nonparallel_tests", + "resultdb": { + "result_file": "${ISOLATED_OUTDIR}/gtest_output.json", + "result_format": "gtest_json" + }, + "swarming": { + "can_use_on_swarming_builders": true, + "dimension_sets": [ + { + "cpu": "x86-64", + "os": "Ubuntu-18.04" + } + ] + }, + "test_id_prefix": "ninja://:webrtc_nonparallel_tests/" } ] },