# HG changeset patch # User Pierre-Yves David # Date 1431066313 25200 # Node ID 5195322b9f80d78193fd670f29eba291a7f2f797 # Parent 277bc9b0b4bddc0b4dfa2115c7a9641529106b01 run-tests: spread and document the content of time tuple The spreading will make future modification clearer. The documentation improve code readability. diff -r 277bc9b0b4bd -r 5195322b9f80 tests/run-tests.py --- a/tests/run-tests.py Thu May 07 23:16:57 2015 -0700 +++ b/tests/run-tests.py Thu May 07 23:25:13 2015 -0700 @@ -1308,8 +1308,11 @@ starttime = test.started endtime = test.stopped - self.times.append((test.name, endtime[2] - starttime[2], - endtime[3] - starttime[3], endtime[4] - starttime[4])) + self.times.append((test.name, + endtime[2] - starttime[2], # user space CPU time + endtime[3] - starttime[3], # sys space CPU time + endtime[4] - starttime[4], # real time + )) if interrupted: iolock.acquire()