tps: print the running test

parent 4ecc2bd1
...@@ -250,7 +250,7 @@ class Suite(object): ...@@ -250,7 +250,7 @@ class Suite(object):
ziplist.append(logname) ziplist.append(logname)
log.write('------------------------\n') log.write('------------------------\n')
log.write('running test {0} = {1}\n'.format(shortname, test)) log.write('running test {0} = {1}\n'.format(shortname, test))
print '.', print 'running test ' + shortname
run_test(testname, logname, yes=self.yes) run_test(testname, logname, yes=self.yes)
except TpsCritical, e: except TpsCritical, e:
print 'test [%s]: critical error, aborting: [%s]' % (shortname, e) print 'test [%s]: critical error, aborting: [%s]' % (shortname, e)
...@@ -290,6 +290,7 @@ class Suite(object): ...@@ -290,6 +290,7 @@ class Suite(object):
failures.append((shortname, e, )) failures.append((shortname, e, ))
else: else:
log.write(' OK\n') log.write(' OK\n')
print 'test '+ shortname + ' OK\n'
log.write('\n') log.write('\n')
log.write('------------------------\n') log.write('------------------------\n')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment