Commit 8c531d71 authored by Peter Wen's avatar Peter Wen Committed by Commit Bot

Android: Run fake module smoke tests on CQ

Add monochrome smoke test for fake modules.

Runs on CQ (M) and on waterfall (N, O, P).

Bug: 1000749
Change-Id: I3598152b383b45c26adeec72a2038bfb1a09fcca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1836375
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Reviewed-by: default avatarBen Pastene <bpastene@chromium.org>
Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
Auto-Submit: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703333}
parent 260fb055
......@@ -2213,6 +2213,17 @@ if (public_android_sdk) {
extra_args = _bundle_smoke_test_extra_args
}
instrumentation_test_runner(
"monochrome_public_bundle_fake_modules_smoke_test") {
apk_under_test = "//chrome/android:monochrome_public_bundle_apks"
android_test_apk = ":chrome_bundle_smoke_test_apk"
android_test_apk_name = "ChromeBundleSmokeTest"
never_incremental = true
fake_modules = [ "test_dummy" ]
extra_args = _bundle_smoke_test_extra_args +
_bundle_fake_modules_smoke_test_extra_args
}
if (defined(expected_static_initializer_count)) {
action_with_pydeps("monochrome_static_initializers") {
script = "//build/android/gyp/assert_static_initializers.py"
......
......@@ -1266,6 +1266,61 @@
},
"test": "cc_unittests"
},
{
"args": [
"--gs-results-bucket=chromium-result-details",
"--recover-devices",
"--avd-config=../../tools/android/avd/proto/generic_android23.textpb"
],
"merge": {
"args": [
"--bucket",
"chromium-result-details",
"--test-name",
"chrome_modern_public_bundle_fake_modules_smoke_test"
],
"script": "//build/android/pylib/results/presentation/test_results_presentation.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"dimension_sets": [
{
"cpu": "x86-64",
"device_os": null,
"device_type": null,
"os": "Ubuntu-16.04"
}
],
"named_caches": [
{
"name": "avd_generic_android23",
"path": ".android"
},
{
"name": "system_images_android_23_google_apis_x86",
"path": ".emulator_sdk"
}
],
"output_links": [
{
"link": [
"https://luci-logdog.appspot.com/v/?s",
"=android%2Fswarming%2Flogcats%2F",
"${TASK_ID}%2F%2B%2Funified_logcats"
],
"name": "shard #${SHARD_INDEX} logcats"
}
]
},
"test": "chrome_modern_public_bundle_fake_modules_smoke_test"
},
{
"args": [
"--gs-results-bucket=chromium-result-details",
......
This diff is collapsed.
......@@ -4984,6 +4984,51 @@
},
"test": "cc_unittests"
},
{
"args": [
"--gs-results-bucket=chromium-result-details",
"--recover-devices"
],
"isolate_coverage_data": true,
"merge": {
"args": [
"--bucket",
"chromium-result-details",
"--test-name",
"chrome_modern_public_bundle_fake_modules_smoke_test"
],
"script": "//build/android/pylib/results/presentation/test_results_presentation.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"dimension_sets": [
{
"device_os": "MMB29Q",
"device_os_type": "userdebug",
"device_type": "bullhead",
"os": "Android"
}
],
"output_links": [
{
"link": [
"https://luci-logdog.appspot.com/v/?s",
"=android%2Fswarming%2Flogcats%2F",
"${TASK_ID}%2F%2B%2Funified_logcats"
],
"name": "shard #${SHARD_INDEX} logcats"
}
]
},
"test": "chrome_modern_public_bundle_fake_modules_smoke_test"
},
{
"args": [
"--gs-results-bucket=chromium-result-details",
......
......@@ -628,6 +628,10 @@
"label": "//chrome/android:chrome_modern_public_bundle_smoke_test",
"type": "console_test_launcher",
},
"chrome_modern_public_bundle_fake_modules_smoke_test": {
"label": "//chrome/android:chrome_modern_public_bundle_fake_modules_smoke_test",
"type": "console_test_launcher",
},
"chrome_official_builder": {
"label": "//:chrome_official_builder",
"type": "additional_compile_target",
......@@ -1760,6 +1764,10 @@
"label": "//chrome/android:monochrome_public_bundle_smoke_test",
"type": "console_test_launcher",
},
"monochrome_public_bundle_fake_modules_smoke_test": {
"label": "//chrome/android:monochrome_public_bundle_fake_modules_smoke_test",
"type": "console_test_launcher",
},
"mojo_core_channel_fuzzer": {
"label": "//mojo/core:mojo_core_channel_fuzzer",
"type": "fuzzer",
......
......@@ -82,13 +82,15 @@
},
'android_modern_smoke_tests': {
'chrome_modern_public_smoke_test': {},
'chrome_modern_public_bundle_fake_modules_smoke_test': {},
'chrome_modern_public_bundle_smoke_test': {},
'chrome_modern_public_smoke_test': {},
},
'android_monochrome_smoke_tests': {
'monochrome_public_smoke_test': {},
'monochrome_public_bundle_fake_modules_smoke_test': {},
'monochrome_public_bundle_smoke_test': {},
'monochrome_public_smoke_test': {},
},
'android_oreo_standard_gtests': {
......
......@@ -730,6 +730,51 @@
},
"test": "cc_unittests"
},
{
"args": [
"--gs-results-bucket=chromium-result-details",
"--recover-devices"
],
"isolate_coverage_data": true,
"merge": {
"args": [
"--bucket",
"chromium-result-details",
"--test-name",
"chrome_modern_public_bundle_fake_modules_smoke_test"
],
"script": "//build/android/pylib/results/presentation/test_results_presentation.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"dimension_sets": [
{
"device_os": "MMB29Q",
"device_os_type": "userdebug",
"device_type": "bullhead",
"os": "Android"
}
],
"output_links": [
{
"link": [
"https://luci-logdog.appspot.com/v/?s",
"=android%2Fswarming%2Flogcats%2F",
"${TASK_ID}%2F%2B%2Funified_logcats"
],
"name": "shard #${SHARD_INDEX} logcats"
}
]
},
"test": "chrome_modern_public_bundle_fake_modules_smoke_test"
},
{
"args": [
"--gs-results-bucket=chromium-result-details",
......
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