Index: tools/tests/run_all.py |
diff --git a/tools/tests/run_all.py b/tools/tests/run_all.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..d5d41af5a12609b781d4699fdeda43c18eec93b1 |
--- /dev/null |
+++ b/tools/tests/run_all.py |
@@ -0,0 +1,16 @@ |
+#!/usr/bin/env python |
+# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
scroggo
2013/12/18 22:32:04
Is this the right copyright for Skia code? I thoug
epoger
2013/12/19 18:22:08
Right you are! Thanks for catching that.
|
+# 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() |