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

Side by Side Diff: slave/skia_slave_scripts/run_tool_self_tests.py

Issue 344183004: Use new common utils where possible. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase Created 6 years, 5 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
« no previous file with comments | « slave/skia_slave_scripts/run_gm_self_tests.py ('k') | slave/skia_slave_scripts/sync_android.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Run self-tests within tools/ dir. """ 6 """Run self-tests within tools/ dir. """
7 7
8 import os 8 import os
9 import sys 9 import sys
10 10
11 from build_step import BuildStep 11 from build_step import BuildStep
12 from utils import shell_utils 12 from py.utils import shell_utils
13 13
14 14
15 class RunToolSelfTests(BuildStep): 15 class RunToolSelfTests(BuildStep):
16 def _Run(self): 16 def _Run(self):
17 shell_utils.run(os.path.join('tools', 'tests', 'run.sh')) 17 shell_utils.run(os.path.join('tools', 'tests', 'run.sh'))
18 18
19 19
20 if '__main__' == __name__: 20 if '__main__' == __name__:
21 sys.exit(BuildStep.RunBuildStep(RunToolSelfTests)) 21 sys.exit(BuildStep.RunBuildStep(RunToolSelfTests))
OLDNEW
« no previous file with comments | « slave/skia_slave_scripts/run_gm_self_tests.py ('k') | slave/skia_slave_scripts/sync_android.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698