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

Unified Diff: scripts/slave/recipes_test/run_presubmit.py

Issue 14988009: First cut of testing infrastructure for recipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: nitfixen Created 7 years, 7 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
Index: scripts/slave/recipes_test/run_presubmit.py
diff --git a/scripts/slave/recipes_test/run_presubmit.py b/scripts/slave/recipes_test/run_presubmit.py
new file mode 100644
index 0000000000000000000000000000000000000000..481648492b0c5dc25c3a56cc0a3eda94eb4765dc
--- /dev/null
+++ b/scripts/slave/recipes_test/run_presubmit.py
@@ -0,0 +1,23 @@
+# Copyright (c) 2013 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.
+
+"""Test inputs for recipes/run_presubmit.py"""
+
+def blink_bare_test(api):
+ return {
+ 'factory_properties': {'repo_name': 'blink_bare'},
+ 'build_properties': api.tryserver_build_properties(),
+ }
+
+def tools_build_test(api):
+ return {
+ 'factory_properties': {'repo_name': 'tools_build'},
+ 'build_properties': api.tryserver_build_properties(),
+ }
+
+def chromium_test(api):
+ return {
+ 'factory_properties': {'repo_name': 'chromium'},
+ 'build_properties': api.tryserver_build_properties(),
+ }
« no previous file with comments | « scripts/slave/recipes_test/gatekeeper.basic.expected ('k') | scripts/slave/recipes_test/run_presubmit.blink_bare.expected » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698