diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-26 16:51:40 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-26 16:51:40 +0100 |
commit | ed733f3e67fae3a6f4beb2bdb1f8198edd6df3cd (patch) | |
tree | e08eff6ebc1ff01b54b172b1345eb1e9529cfca1 | |
parent | 65d90c31112a882c93fe3e4d88fb24843b66b735 (diff) | |
download | buildstream-bschubert/fix-binary-output-capture.tar.gz |
tests/frontend/buildcheckout.py: Enable test_build_checkout_tarball_stdoutdanielsilverstone-ct/preserve-stdoutbschubert/fix-binary-output-capture
With the new support for saving the stdout FDs cleanly, and binary mode
capture in runcli, enable the tarball-to-stdout test.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-rw-r--r-- | tests/frontend/buildcheckout.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/frontend/buildcheckout.py b/tests/frontend/buildcheckout.py index 4d409cdfe..a0b461762 100644 --- a/tests/frontend/buildcheckout.py +++ b/tests/frontend/buildcheckout.py @@ -128,7 +128,6 @@ def test_build_checkout_tarball(datafiles, cli): assert os.path.join('.', 'usr', 'include', 'pony.h') in tar.getnames() -@pytest.mark.skip(reason="Capturing the binary output is causing a stacktrace") @pytest.mark.datafiles(DATA_DIR) def test_build_checkout_tarball_stdout(datafiles, cli): project = os.path.join(datafiles.dirname, datafiles.basename) @@ -143,7 +142,7 @@ def test_build_checkout_tarball_stdout(datafiles, cli): checkout_args = ['checkout', '--tar', 'target.bst', '-'] - result = cli.run(project=project, args=checkout_args) + result = cli.run(project=project, args=checkout_args, binary_capture=True) result.assert_success() with open(tarball, 'wb') as f: |