| 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)
|
|
|