Commit 26426fdc authored by adoneria's avatar adoneria Committed by Commit Bot

[updater] change updater_integration_tests target to use

script_test template.

It will be used to pass arguments to the test target for test run
via typ.

Bug: 1141577
Change-Id: I11582b6e97d0dd088ededf5bd61247ee6ecfa3cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2493368Reviewed-by: default avatarDirk Pranke <dpranke@google.com>
Commit-Queue: Anjali Doneria <adoneria@google.com>
Cr-Commit-Position: refs/heads/master@{#820480}
parent dda32dfc
...@@ -344,15 +344,16 @@ if (is_win || is_mac) { ...@@ -344,15 +344,16 @@ if (is_win || is_mac) {
} }
} }
group("updater_integration_tests") { script_test("updater_integration_tests") {
testonly = true script = "//testing/scripts/run_isolated_script_test.py"
args = [ "@WrappedPath(" +
rebase_path("//chrome/updater/run_updater_tests.py",
root_build_dir) + ")" ]
data = [ data = [
"//chrome/updater/run_updater_tests.py", "//chrome/updater/run_updater_tests.py",
"//chrome/updater/test/", "//chrome/updater/test/",
"//testing/scripts/common.py",
"//testing/scripts/run_isolated_script_test.py",
"//testing/xvfb.py",
"//third_party/catapult/third_party/typ/", "//third_party/catapult/third_party/typ/",
] ]
......
...@@ -1703,12 +1703,8 @@ ...@@ -1703,12 +1703,8 @@
"type": "windowed_test_launcher", "type": "windowed_test_launcher",
}, },
"updater_integration_tests": { "updater_integration_tests": {
"args": [ "type": "generated_script",
"../../chrome/updater/run_updater_tests.py",
],
"label": "//chrome/updater:updater_integration_tests", "label": "//chrome/updater:updater_integration_tests",
"script": "//testing/scripts/run_isolated_script_test.py",
"type": "script",
}, },
"updater_tests": { "updater_tests": {
"label": "//chrome/updater:updater_tests", "label": "//chrome/updater:updater_tests",
......
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