projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d879042
)
test: fix tap output on windows
author
Timothy J Fontaine
<tjfontaine@gmail.com>
Thu, 28 Feb 2013 19:46:59 +0000
(11:46 -0800)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 28 Feb 2013 22:13:05 +0000
(23:13 +0100)
Test output is always \n and not platform dependent
tools/test.py
patch
|
blob
|
history
diff --git
a/tools/test.py
b/tools/test.py
index
e94ad24
..
a8dc894
100755
(executable)
--- 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.split
lines(
):
print '#' + l
- for l in output.output.stdout.split
(os.linesep
):
+ for l in output.output.stdout.split
lines(
):
print '#' + l
else:
print 'ok %i - %s' % (self._done, command)