We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd140b5 commit 4bc3115Copy full SHA for 4bc3115
test/rununittests.py
@@ -1,4 +1,6 @@
1
from __future__ import print_function
2
+from __future__ import unicode_literals
3
+from io import open
4
from glob import glob
5
import sys
6
import os
@@ -19,7 +21,11 @@ def run( self, options ):
19
21
else:
20
22
cmd = []
23
cmd.extend( [self.test_exe_path, '--test-auto'] + options )
- process = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT )
24
+ try:
25
+ process = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT )
26
+ except:
27
+ print(cmd)
28
+ raise
29
stdout = process.communicate()[0]
30
if process.returncode:
31
return False, stdout
0 commit comments