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

Side by Side Diff: googletest/tests/list_test_cases_smoke_test.py

Issue 19917006: Move all googletest related scripts into googletest/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Remove unnecessary pylint warning disable Created 7 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 | Annotate | Revision Log
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 20 matching lines...) Expand all
31 'list_test_cases.py', 31 'list_test_cases.py',
32 os.path.join('tests', 'gtest_fake', 'gtest_fake_pass.py'), 32 os.path.join('tests', 'gtest_fake', 'gtest_fake_pass.py'),
33 ]) 33 ])
34 self.assertEqual('Foo.Bar/3\nFoo.Bar1\nFoo.Bar2\n', out) 34 self.assertEqual('Foo.Bar/3\nFoo.Bar1\nFoo.Bar2\n', out)
35 35
36 36
37 if __name__ == '__main__': 37 if __name__ == '__main__':
38 logging.basicConfig( 38 logging.basicConfig(
39 level=(logging.DEBUG if '-v' in sys.argv else logging.FATAL)) 39 level=(logging.DEBUG if '-v' in sys.argv else logging.FATAL))
40 unittest.main() 40 unittest.main()
OLDNEW
« no previous file with comments | « googletest/tests/isolate_test_cases_smoke_test.py ('k') | googletest/tests/run_test_cases/output.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698