Browse Source

Display command output

pull/132/head
Oliverpool 9 years ago
parent
commit
320e94cfd8
  1. 14
      test/test_compilation/test_compilation.py

14
test/test_compilation/test_compilation.py

@ -103,3 +103,17 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest):
stderr=subprocess.DEVNULL,
cwd=os.path.dirname(songbook),
)
#temp fix for travis tests
try:
val = subprocess.check_output(
command,
stderr=subprocess.STDOUT,
universal_newlines=True,
cwd=os.path.dirname(songbook),
)
print("###ok")
print(val)
print("ok###")
except subprocess.CalledProcessError as e:
print(e.output)
return 1
Loading…
Cancel
Save