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

Side by Side Diff: platform_tools/android/tests/run_all.py

Issue 140503007: Scripts to generate Android.mk for framework Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Respond to Elliot's comments in patch set 20. Created 6 years, 10 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
OLDNEW
(Empty)
1 #!/usr/bin/python
2
3 # Copyright 2014 Google Inc.
4 #
5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file.
7
8 """
9 Run all the tests in platform_tools/android/tests.
10 """
11
12 import os
13 import unittest
14
15 def main():
16 suite = unittest.TestLoader().discover(os.path.dirname(__file__),
17 pattern='*_tests.py')
18 results = unittest.TextTestRunner(verbosity=2).run(suite)
19 print repr(results)
20 if not results.wasSuccessful():
21 raise Exception('failed one or more unittests')
22
23 if __name__ == '__main__':
24 main()
OLDNEW
« no previous file with comments | « platform_tools/android/tests/ordered_set_tests.py ('k') | platform_tools/android/tests/test_variables.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698