Run webrtc_perf_tests on Fuchsia os.

Currently a specific target is running on Fuchsia which is a copy paste of webrtc_perf_tests.

Change-Id: Ib1fd5dc898f50c43f2bcd45e73c278d3547ce813
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/306963
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Cr-Commit-Position: refs/heads/main@{#40176}
This commit is contained in:
Jeremy Leconte 2023-05-30 09:49:41 +02:00 committed by WebRTC LUCI CQ
parent c73ea4fc57
commit b18463409b
7 changed files with 8 additions and 64 deletions

View File

@ -110,9 +110,6 @@ if (!build_with_chromium) {
if ((is_linux || is_chromeos) && rtc_use_pipewire) { if ((is_linux || is_chromeos) && rtc_use_pipewire) {
deps += [ "modules/desktop_capture:shared_screencast_stream_test" ] deps += [ "modules/desktop_capture:shared_screencast_stream_test" ]
} }
if (is_fuchsia) {
deps += [ ":fuchsia_perf_tests" ]
}
} }
if (target_os == "android") { if (target_os == "android") {
deps += [ "tools_webrtc:binary_version_check" ] deps += [ "tools_webrtc:binary_version_check" ]
@ -734,24 +731,6 @@ if (rtc_include_tests && !build_with_chromium) {
} }
} }
if (is_fuchsia) {
rtc_test("fuchsia_perf_tests") {
testonly = true
deps = [
#TODO(fxbug.dev/115601) - Enable when fixed
"call:call_perf_tests",
"modules/audio_coding:audio_coding_perf_tests",
"modules/audio_processing:audio_processing_perf_tests",
"pc:peerconnection_perf_tests",
"test:test_main",
"video:video_full_stack_tests",
"video:video_pc_full_stack_tests",
]
data = webrtc_perf_tests_resources
}
}
rtc_test("webrtc_nonparallel_tests") { rtc_test("webrtc_nonparallel_tests") {
testonly = true testonly = true
deps = [ "rtc_base:rtc_base_nonparallel_tests" ] deps = [ "rtc_base:rtc_base_nonparallel_tests" ]

View File

@ -309,18 +309,18 @@
"--test-launcher-summary-output=${ISOLATED_OUTDIR}/gtest_output.json", "--test-launcher-summary-output=${ISOLATED_OUTDIR}/gtest_output.json",
"--test-arg=--gtest_output=json:/custom_artifacts/gtest_output.json", "--test-arg=--gtest_output=json:/custom_artifacts/gtest_output.json",
"--test-arg=--undefok=test_launcher_summary_output", "--test-arg=--undefok=test_launcher_summary_output",
"--nologs", "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb",
"--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.json" "--nologs"
], ],
"isolate_name": "fuchsia_perf_tests", "isolate_name": "webrtc_perf_tests",
"merge": { "merge": {
"args": [ "args": [
"--test-suite", "--test-suite",
"fuchsia_perf_tests" "webrtc_perf_tests"
], ],
"script": "//tools_webrtc/perf/process_perf_results.py" "script": "//tools_webrtc/perf/process_perf_results.py"
}, },
"name": "fuchsia_perf_tests", "name": "webrtc_perf_tests",
"resultdb": { "resultdb": {
"result_file": "${ISOLATED_OUTDIR}/gtest_output.json", "result_file": "${ISOLATED_OUTDIR}/gtest_output.json",
"result_format": "gtest_json" "result_format": "gtest_json"
@ -340,7 +340,7 @@
"idempotent": false, "idempotent": false,
"io_timeout": 10800 "io_timeout": 10800
}, },
"test_id_prefix": "ninja://:fuchsia_perf_tests/" "test_id_prefix": "ninja://:webrtc_perf_tests/"
} }
] ]
}, },

View File

@ -63,10 +63,6 @@
"label": "//sdk/android:android_instrumentation_test_apk", "label": "//sdk/android:android_instrumentation_test_apk",
"type": "console_test_launcher", "type": "console_test_launcher",
}, },
"fuchsia_perf_tests": {
"label": "//:fuchsia_perf_tests",
"type": "raw",
},
"low_bandwidth_audio_test": { "low_bandwidth_audio_test": {
"label": "//audio:low_bandwidth_audio_test", "label": "//audio:low_bandwidth_audio_test",
"type": "console_test_launcher", "type": "console_test_launcher",

View File

@ -183,18 +183,6 @@
'args': ['--out-dir', '${ISOLATED_OUTDIR}'] 'args': ['--out-dir', '${ISOLATED_OUTDIR}']
} }
}, },
'perf-fuchsia-perf-tests': {
'merge': {
'script': '//tools_webrtc/perf/process_perf_results.py',
'args': ['--test-suite', 'fuchsia_perf_tests']
},
'$mixin_append': {
'args': [
'--nologs',
'--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.json'
]
}
},
'perf-output': { 'perf-output': {
'$mixin_append': { '$mixin_append': {
'args': [ 'args': [

View File

@ -96,18 +96,6 @@
} }
} }
}, },
'perf-fuchsia-perf-tests': {
'merge': {
'script': '//tools_webrtc/perf/process_perf_results.py',
'args': ['--test-suite', 'fuchsia_perf_tests'],
},
'$mixin_append': {
'args': [
'--nologs',
'--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.json',
],
},
},
'perf-output': { 'perf-output': {
'$mixin_append': { '$mixin_append': {
'args': [ 'args': [

View File

@ -107,13 +107,6 @@
'voip_unittests': {}, 'voip_unittests': {},
'webrtc_nonparallel_tests': {}, 'webrtc_nonparallel_tests': {},
}, },
'fuchsia_compatible_perf_tests': {
'fuchsia_perf_tests': {
'mixins': [
'perf-fuchsia-perf-tests',
],
},
},
'fuchsia_compatible_tests': { 'fuchsia_compatible_tests': {
'audio_decoder_unittests': {}, 'audio_decoder_unittests': {},
'common_audio_unittests': {}, 'common_audio_unittests': {},

View File

@ -288,10 +288,10 @@
'linux', 'linux',
'mixins': [ 'mixins': [
'linux-bionic', 'x86-64', 'perf-pool-vm', 'timeout-3h', 'linux-bionic', 'x86-64', 'perf-pool-vm', 'timeout-3h',
'resultdb-gtest-json-format', 'fuchsia-gtest-output' 'resultdb-gtest-json-format', 'fuchsia-gtest-output', 'perf-output'
], ],
'test_suites': { 'test_suites': {
'isolated_scripts': 'fuchsia_compatible_perf_tests', 'isolated_scripts': 'webrtc_perf_tests',
} }
}, },
'Perf Linux Bionic': { 'Perf Linux Bionic': {