Bug 1633513 - Prevent browsertime tests from running on opt android builds. r=perftest-reviewers,AlexandruIonescu

This patch prevents speedometer tests from running on all android builds and also prevents chrome tests from running there.

Differential Revision: https://phabricator.services.mozilla.com/D72727
This commit is contained in:
Gregory Mierzwinski 2020-04-28 12:47:55 +00:00
parent b9d855801b
commit d84ec8ca2c
2 changed files with 9 additions and 2 deletions

View File

@ -190,7 +190,6 @@ browsertime-tp6m-profiling:
browsertime-speedometer-mobile:
description: "Browsertime Speedometer on Android"
apps: ["geckoview", "fenix", "fennec"]
run-on-projects: ["mozilla-central", "try"]
treeherder-symbol: Btime(sp)
mozharness:
extra-options:

View File

@ -524,7 +524,15 @@ def target_tasks_general_perf_testing(full_task_graph, parameters, graph_config)
# Run chrome and chromium on all platforms available
if '-chrome' in try_name:
return True
if 'android' in platform:
# Run only on pgo android builds
if 'pgo' in platform:
return True
else:
return False
else:
# Run on all desktop builds
return True
if '-chromium' in try_name:
return True