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

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

Issue 354913003: Add module discovery and autoloading to expect_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Fix formatting + comment 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: scripts/slave/unittests/expect_tests/handle_test.py
diff --git a/scripts/slave/unittests/expect_tests/handle_test.py b/scripts/slave/unittests/expect_tests/handle_test.py
index b72311169550dd93b1a17f655c33a20d20c51690..54b55149157fcab0f4f7bea1ef10b8480ecddae4 100644
--- a/scripts/slave/unittests/expect_tests/handle_test.py
+++ b/scripts/slave/unittests/expect_tests/handle_test.py
@@ -23,7 +23,7 @@ class TestHandler(Handler):
def run_stage_loop(cls, _opts, results, put_next_stage):
for test, result, log_lines in results:
current, _ = GetCurrentData(test)
- if current is NonExistant:
+ if current is NonExistant and result.data is not None:
put_next_stage(Missing(test, log_lines))
else:
diff = DiffData(current, result.data)

Powered by Google App Engine
This is Rietveld 408576698