9e8f88b6ef
Eventually, we want all of these self-tests to be written in Python; this change makes it easier for us to add new Python self-tests, and discourages the addition of bash self-tests. BUG=skia:677,skia:1943 NOTRY=True R=rmistry@google.com, scroggo@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/112163004 git-svn-id: http://skia.googlecode.com/svn/trunk@12775 2bbb7eff-a529-9590-31e7-b0007b416f81
21 lines
417 B
Python
Executable File
21 lines
417 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
"""
|
|
Copyright 2013 Google Inc.
|
|
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file.
|
|
|
|
Run all self-tests that were written in Python, raising an exception if any
|
|
of them fail.
|
|
"""
|
|
|
|
import skimage_self_test
|
|
|
|
def main():
|
|
"""Run all self-tests, raising an exception if any of them fail."""
|
|
skimage_self_test.main()
|
|
|
|
if __name__ == '__main__':
|
|
main()
|