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

Unified Diff: tools/tests/run_all.py

Issue 112163004: create tools/tests/run_all.py to run all our Python self-tests within tools (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix copyright stanza Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/tests/run.sh ('k') | tools/tests/skimage_self_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6d8b44ea31217888545a7bdbc8119ce8f178d043
--- /dev/null
+++ b/tools/tests/run_all.py
@@ -0,0 +1,20 @@
+#!/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()
« no previous file with comments | « tools/tests/run.sh ('k') | tools/tests/skimage_self_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698