Fixed debug mode

BUG=420727
R=dnj@chromium.org

Review URL: https://codereview.chromium.org/774783002
diff --git a/expect_tests/pipeline.py b/expect_tests/pipeline.py
index 373c77c..e31a947 100644
--- a/expect_tests/pipeline.py
+++ b/expect_tests/pipeline.py
@@ -329,8 +329,8 @@
     """
     logstream.reset()
     try:
-      with run_ctx(subtest):
-        with cover_ctx.update(include=subtest.coverage_includes()):
+      with cover_ctx.update(include=subtest.coverage_includes()):
+        with run_ctx(subtest):
           with use_chdir(cwd):
             subresult = subtest.run()