run-tests: move logging of test start into Test.run()
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 19 Apr 2014 21:50:23 -0700
changeset 21337 79930515604f
parent 21336 45ab0668d1b2
child 21338 3cd2d2de4060
run-tests: move logging of test start into Test.run()
tests/run-tests.py
--- a/tests/run-tests.py	Sat Apr 19 21:21:57 2014 -0700
+++ b/tests/run-tests.py	Sat Apr 19 21:50:23 2014 -0700
@@ -617,6 +617,8 @@
         self._daemonpids.append(env['DAEMON_PIDS'])
         createhgrc(env['HGRCPATH'], options)
 
+        vlog('# Test', self._test)
+
         starttime = time.time()
         try:
             ret, out = self._run(testtmp, replacements, env)
@@ -1144,8 +1146,6 @@
     else:
         return skip("unknown test type")
 
-    vlog("# Test", test)
-
     t = runner(test, testpath, options, count, ref, err)
     result = t.run()