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

Unified Diff: scripts/slave/unittests/expect_tests/handle_list.py

Issue 220353003: Replace recipes_test.py with a new parallel expectation-based test runner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: fix coverage race Created 6 years, 9 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: scripts/slave/unittests/expect_tests/handle_list.py
diff --git a/scripts/slave/unittests/expect_tests/handle_list.py b/scripts/slave/unittests/expect_tests/handle_list.py
new file mode 100644
index 0000000000000000000000000000000000000000..6fddaaf210eca964b310871aabd22f4196e40c1f
--- /dev/null
+++ b/scripts/slave/unittests/expect_tests/handle_list.py
@@ -0,0 +1,18 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from .type_definitions import Handler
+
+
+class ListHandler(Handler):
+ """List all of the tests instead of running them."""
+ SKIP_RUNLOOP = True
+
+ class ResultStageHandler(Handler.ResultStageHandler):
+ @staticmethod
+ def handle_Test(test):
+ print test.name
+
+ # TODO(iannucci): group tests by dir?
+ # TODO(iannucci): print more data about the test in verbose mode?
« no previous file with comments | « scripts/slave/unittests/expect_tests/handle_debug.py ('k') | scripts/slave/unittests/expect_tests/handle_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698