projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea9ca9d
)
Fixed .srctree tests execution on Windows.
author
Nikita Nemkin
<nikita@nemkin.ru>
Wed, 24 Apr 2013 13:22:37 +0000
(19:22 +0600)
committer
Nikita Nemkin
<nikita@nemkin.ru>
Wed, 24 Apr 2013 13:22:37 +0000
(19:22 +0600)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index
c50ae9e
..
53ff850
100755
(executable)
--- a/
runtests.py
+++ b/
runtests.py
@@
-1188,8
+1188,8
@@
class EndToEndTest(unittest.TestCase):
old_path = os.environ.get('PYTHONPATH')
os.environ['PYTHONPATH'] = self.cython_syspath + os.pathsep + (old_path or '')
try:
- for command in
commands.split('\n'
):
- p = subprocess.Popen(command
s
,
+ for command in
filter(None, commands.splitlines()
):
+ p = subprocess.Popen(command,
stderr=subprocess.PIPE,
stdout=subprocess.PIPE,
shell=True)