diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index 9a2e77de..3aad14eb 100644 --- a/test/test_compilation/test_compilation.py +++ b/test/test_compilation/test_compilation.py @@ -96,10 +96,24 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): if steps: command.extend(['--steps', steps]) - return subprocess.check_call( - command, - stdin=subprocess.DEVNULL, - stdout=subprocess.DEVNULL, - stderr=subprocess.DEVNULL, - cwd=os.path.dirname(songbook), - ) + return subprocess.check_call( + command, + stdin=subprocess.DEVNULL, + stdout=subprocess.DEVNULL, + 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 \ No newline at end of file