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

Unified Diff: tools/test_all.py

Issue 310093003: rebaseline_server: download actual-results.json files from GCS instead of SVN (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: combine import_gm and import_tools into fix_pythonpath Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: tools/test_all.py
diff --git a/gm/rebaseline_server/test_all.py b/tools/test_all.py
similarity index 70%
copy from gm/rebaseline_server/test_all.py
copy to tools/test_all.py
index 299d1340f23ec78664070d96510f81d296a3feb6..6467a2160be7598a6d40014de8e63e62fc7878a9 100755
--- a/gm/rebaseline_server/test_all.py
+++ b/tools/test_all.py
@@ -7,16 +7,20 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
Run all unittests within this directory tree, recursing into subdirectories.
-
-TODO(epoger): Launch this automatically on the housekeeper bot, but first make
-sure it works properly after having been checked out (from both git and svn)
"""
import os
import unittest
+from tests import skimage_self_test
+
def main():
+ # First, run any tests that cannot be automatically discovered (because
+ # they don't use Python's unittest framework).
+ skimage_self_test.main()
+
+ # Now discover/run all tests that use Python's unittest framework.
suite = unittest.TestLoader().discover(os.path.dirname(__file__),
pattern='*_test.py')
results = unittest.TextTestRunner(verbosity=2).run(suite)

Powered by Google App Engine
This is Rietveld 408576698