From ed733f3e67fae3a6f4beb2bdb1f8198edd6df3cd Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 26 Oct 2018 16:51:40 +0100 Subject: tests/frontend/buildcheckout.py: Enable test_build_checkout_tarball_stdout 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 --- tests/frontend/buildcheckout.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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: -- cgit v1.2.1