Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Unified Diff: sandbox/win/PRESUBMIT.py

Issue 1923603002: Add presubmit to run sandbox tests on Win 10. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/PRESUBMIT.py
diff --git a/gpu/PRESUBMIT.py b/sandbox/win/PRESUBMIT.py
similarity index 71%
copy from gpu/PRESUBMIT.py
copy to sandbox/win/PRESUBMIT.py
index 034a9d8cdb9a771169202568c134c6dd020a9f87..e03c9d1089d59d88e7e13911a868e3b32ba56460 100644
--- a/gpu/PRESUBMIT.py
+++ b/sandbox/win/PRESUBMIT.py
@@ -1,8 +1,8 @@
-# Copyright (c) 2016 The Chromium Authors. All rights reserved.
+# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Top-level presubmit script for gpu.
+"""Presubmit script for sandbox/win.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into depot_tools.
@@ -14,7 +14,7 @@ def PostUploadHook(cl, change, output_api):
"""git cl upload will call this hook after the issue is created/modified.
This hook adds extra try bots list to the CL description in order to run
- Blink tests in addition to CQ try bots.
+ tests on the Windows 10 try bot in addition to CQ try bots.
"""
rietveld_obj = cl.RpcServer()
issue = cl.issue
@@ -23,16 +23,14 @@ def PostUploadHook(cl, change, output_api):
return []
bots = [
- 'tryserver.chromium.linux:linux_optional_gpu_tests_rel',
- 'tryserver.chromium.mac:mac_optional_gpu_tests_rel',
- 'tryserver.chromium.win:win_optional_gpu_tests_rel',
+ 'tryserver.chromium.win:win10_chromium_x64_rel_ng',
]
results = []
new_description = description
new_description += '\nCQ_INCLUDE_TRYBOTS=%s' % ';'.join(bots)
results.append(output_api.PresubmitNotifyResult(
- 'Automatically added optional GPU tests to run on CQ.'))
+ 'Automatically added Win10 bot to run on CQ.'))
if new_description != description:
rietveld_obj.update_description(issue, new_description)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698