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

Side by Side Diff: scripts/slave/unittests/annotated_run_test.py

Issue 1347263002: Revert of Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright 2015 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 """Tests that the tools/build annotated_run wrapper actually runs."""
8
9 import os
10 import subprocess
11 import unittest
12
13 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
14
15 class AnnotatedRunTest(unittest.TestCase):
16 def test_example(self):
17 script_path = os.path.join(BASE_DIR, 'annotated_run.py')
18 exit_code = subprocess.call([
19 'python', script_path,
20 '--factory-properties={"recipe":"step:example"}'])
21 self.assertEqual(exit_code, 0)
22
23 if __name__ == '__main__':
24 unittest.main()
OLDNEW
« no previous file with comments | « scripts/slave/recipes/v8/auto_roll_v8_deps.py ('k') | scripts/slave/unittests/recipe_lint_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698