Index: remoting/PRESUBMIT.py |
diff --git a/remoting/PRESUBMIT.py b/remoting/PRESUBMIT.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c69f6acc3fe27f263bc106649bc1ea8a7a5ccdd |
--- /dev/null |
+++ b/remoting/PRESUBMIT.py |
@@ -0,0 +1,25 @@ |
+# Copyright 2015 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. |
+ |
+"""Presubmit script for remoting. |
+ |
+See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
+for more details about the presubmit API built into depot_tools. |
+""" |
+ |
+BROWSER_TEST_INSTRUCTIONS_LINK = ( |
+ "https://wiki.corp.google.com/twiki/bin/view/Main/ChromotingWaterfall#Running_on_a_Swarming_bot.") |
kelvinp
2015/06/08 22:11:01
This link won't be accessible for non-googlers. B
|
+ |
+ |
+def CheckChangeOnUpload(input_api, output_api): |
+ print "*******IMPORTANT NOTE*******" |
+ print "Before committing, please run Remoting browser_tests." |
+ print "Instructions: %s" % BROWSER_TEST_INSTRUCTIONS_LINK |
+ print "Make sure all tests pass." |
+ return [] |
+ |
+def CheckChangeOnCommit(input_api, output_api): |
+ """TODO(anandc): Run browser-tests on the Chromoting waterfall as part of |
Jamie
2015/06/08 22:46:28
Please create a bug tracking this work and referen
anandc
2015/06/08 23:40:09
Done.
|
+ committing a CL.""" |
+ return [] |