diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-02-28 11:46:59 -0800 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-02-28 23:13:05 +0100 |
commit | d032ff495483f443a367d194a2699d4cb28f9fd6 (patch) | |
tree | fe46a52a51748e0de83be2635e9b8c205a4e5b0d | |
parent | d87904286024f5ceb6a2d0d5f17e919c775830a0 (diff) | |
download | node-new-d032ff495483f443a367d194a2699d4cb28f9fd6.tar.gz |
test: fix tap output on windows
Test output is always \n and not platform dependent
-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 e94ad24f83..a8dc89493f 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) |