diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-02-28 23:46:59 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-03-01 02:13:05 +0400 |
commit | d032ff495483f443a367d194a2699d4cb28f9fd6 (patch) | |
tree | fe46a52a51748e0de83be2635e9b8c205a4e5b0d /tools | |
parent | d87904286024f5ceb6a2d0d5f17e919c775830a0 (diff) |
test: fix tap output on windows
Test output is always \n and not platform dependent
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test.py b/tools/test.py index e94ad24f830..a8dc89493f6 100755 --- a/tools/test.py +++ b/tools/test.py @@ -235,9 +235,9 @@ class TapProgressIndicator(SimpleProgressIndicator): command = basename(output.command[1]) if output.UnexpectedOutput(): print 'not ok %i - %s' % (self._done, command) - for l in output.output.stderr.split(os.linesep): + for l in output.output.stderr.splitlines(): print '#' + l - for l in output.output.stdout.split(os.linesep): + for l in output.output.stdout.splitlines(): print '#' + l else: print 'ok %i - %s' % (self._done, command) |