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

Side by Side Diff: tests/swarming_smoke_test.py

Issue 22980008: Merge all swarm_*.py scripts into swarming.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Rebase against r219402 Created 7 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
« no previous file with comments | « tests/swarm_trigger_step_test.py ('k') | tests/swarming_test.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) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 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 import logging 6 import logging
7 import os 7 import os
8 import subprocess 8 import subprocess
9 import sys 9 import sys
10 import unittest 10 import unittest
(...skipping 19 matching lines...) Expand all
30 logging.debug(out) 30 logging.debug(out)
31 self.assertEqual(0, p.returncode, out) 31 self.assertEqual(0, p.returncode, out)
32 32
33 33
34 if __name__ == '__main__': 34 if __name__ == '__main__':
35 logging.basicConfig( 35 logging.basicConfig(
36 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR) 36 level=logging.DEBUG if '-v' in sys.argv else logging.ERROR)
37 if '-v' in sys.argv: 37 if '-v' in sys.argv:
38 unittest.TestCase.maxDiff = None 38 unittest.TestCase.maxDiff = None
39 unittest.main() 39 unittest.main()
OLDNEW
« no previous file with comments | « tests/swarm_trigger_step_test.py ('k') | tests/swarming_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698