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

Unified Diff: scripts/slave/recipe_modules/time/example.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 years, 3 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/recipe_modules/time/example.py
diff --git a/scripts/slave/recipe_modules/time/example.py b/scripts/slave/recipe_modules/time/example.py
deleted file mode 100644
index 7832d1978790fce5730bdf9d565547eaedceae76..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/time/example.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2014 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.
-
-DEPS = [
- 'step',
- 'time',
-]
-
-
-def RunSteps(api):
- now = api.time.time()
- api.step('echo', ['echo', str(now)])
-
-
-def GenTests(api):
- yield api.test('defaults')
- yield api.test('seed_and_step') + api.time.seed(123) + api.time.step(2)
« no previous file with comments | « scripts/slave/recipe_modules/time/api.py ('k') | scripts/slave/recipe_modules/time/example.expected/defaults.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698