8933563174
In order to create Android.mk, run >> python platform_tools/android/bin/gyp_to_android.py For the change in the Android.mk file, see https://googleplex-android-review.git.corp.google.com/#/c/408170/ (SkipBuildbotRuns) BUG=skia:1975 R=djsollen@google.com, epoger@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/140503007 git-svn-id: http://skia.googlecode.com/svn/trunk@13344 2bbb7eff-a529-9590-31e7-b0007b416f81
25 lines
588 B
Python
25 lines
588 B
Python
#!/usr/bin/python
|
|
|
|
# Copyright 2014 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
"""
|
|
Run all the tests in platform_tools/android/tests.
|
|
"""
|
|
|
|
import os
|
|
import unittest
|
|
|
|
def main():
|
|
suite = unittest.TestLoader().discover(os.path.dirname(__file__),
|
|
pattern='*_tests.py')
|
|
results = unittest.TextTestRunner(verbosity=2).run(suite)
|
|
print repr(results)
|
|
if not results.wasSuccessful():
|
|
raise Exception('failed one or more unittests')
|
|
|
|
if __name__ == '__main__':
|
|
main()
|