Skip to content

Commit d9d7124

Browse files
committed
Enable logging TAP tests on each testing condition
Found that TAP test do not print any information on tested conditions in tests worker log file. It can be used to check test stages for data written into this log file.
1 parent 9d61cf2 commit d9d7124

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/pytap13.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
import re
2020

21+
from lib.colorer import color_log
22+
2123
try:
2224
# Python 2
2325
from StringIO import StringIO
@@ -139,6 +141,7 @@ def _parse(self, source):
139141

140142
if seek_test:
141143
m = RE_TEST_LINE.match(line)
144+
color_log('%s\n' % line, schema='test-run command')
142145
if m and on_top_level:
143146
self.__tests_counter += 1
144147
t_attrs = m.groupdict()

0 commit comments

Comments
 (0)