Commit 1fdb019b authored by Chinglin Yu's avatar Chinglin Yu Committed by Commit Bot

Add profile_provider_unittest to Cros VM tester

This adds //chrome/browser/metrics/perf:profile_provider_unittest to
Cros VM tests. The test makes real perf collections using debugd for
coverage over classes that are mocked in the unit tests running on
linux_chromeos.

Bug: 1002751
Change-Id: I0fbb5a1990dae924bf0330b2d0be46a5d2de8429
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1828727Reviewed-by: default avatarBen Pastene <bpastene@chromium.org>
Commit-Queue: Chinglin Yu <chinglinyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701929}
parent 31e850bc
...@@ -436,6 +436,23 @@ ...@@ -436,6 +436,23 @@
}, },
"test": "printing_unittests" "test": "printing_unittests"
}, },
{
"merge": {
"args": [],
"script": "//testing/merge_scripts/standard_gtest_merge.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"dimension_sets": [
{
"kvm": "1",
"os": "Ubuntu-16.04",
"pool": "chrome.tests.cros-vm"
}
]
},
"test": "profile_provider_unittest"
},
{ {
"merge": { "merge": {
"args": [], "args": [],
...@@ -972,6 +989,23 @@ ...@@ -972,6 +989,23 @@
}, },
"test": "printing_unittests" "test": "printing_unittests"
}, },
{
"merge": {
"args": [],
"script": "//testing/merge_scripts/standard_gtest_merge.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"dimension_sets": [
{
"kvm": "1",
"os": "Ubuntu-16.04",
"pool": "chrome.tests.cros-vm"
}
]
},
"test": "profile_provider_unittest"
},
{ {
"merge": { "merge": {
"args": [], "args": [],
......
...@@ -442,6 +442,23 @@ ...@@ -442,6 +442,23 @@
}, },
"test": "printing_unittests" "test": "printing_unittests"
}, },
{
"merge": {
"args": [],
"script": "//testing/merge_scripts/standard_gtest_merge.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"dimension_sets": [
{
"kvm": "1",
"os": "Ubuntu-16.04",
"pool": "Chrome-CrOS-VM"
}
]
},
"test": "profile_provider_unittest"
},
{ {
"merge": { "merge": {
"args": [], "args": [],
......
...@@ -8606,6 +8606,26 @@ ...@@ -8606,6 +8606,26 @@
}, },
"test": "printing_unittests" "test": "printing_unittests"
}, },
{
"isolate_coverage_data": true,
"merge": {
"args": [],
"script": "//testing/merge_scripts/standard_gtest_merge.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"dimension_sets": [
{
"kvm": "1",
"os": "Ubuntu-16.04",
"pool": "Chrome-CrOS-VM"
}
],
"hard_timeout": 3600,
"io_timeout": 3600
},
"test": "profile_provider_unittest"
},
{ {
"isolate_coverage_data": true, "isolate_coverage_data": true,
"merge": { "merge": {
......
...@@ -2288,6 +2288,10 @@ ...@@ -2288,6 +2288,10 @@
"label": "//printing:printing_unittests", "label": "//printing:printing_unittests",
"type": "console_test_launcher", "type": "console_test_launcher",
}, },
"profile_provider_unittest": {
"label": "//chrome/browser/metrics/perf:profile_provider_unittest",
"type": "raw",
},
"prtime_fuzzer": { "prtime_fuzzer": {
"label": "//testing/libfuzzer/fuzzers:prtime_fuzzer", "label": "//testing/libfuzzer/fuzzers:prtime_fuzzer",
"type": "fuzzer", "type": "fuzzer",
......
...@@ -423,6 +423,7 @@ ...@@ -423,6 +423,7 @@
'ozone_unittests': {}, 'ozone_unittests': {},
'pdf_unittests': {}, 'pdf_unittests': {},
'printing_unittests': {}, 'printing_unittests': {},
'profile_provider_unittest': {},
'sandbox_linux_unittests': {}, 'sandbox_linux_unittests': {},
'sql_unittests': {}, 'sql_unittests': {},
'url_unittests': {}, 'url_unittests': {},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment