diff options
author | Jürg Billeter <j@bitron.ch> | 2020-02-20 08:40:27 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-02-20 09:16:53 +0100 |
commit | 25b2577604a05df7314a7e7cc78f8f163cd6dbd4 (patch) | |
tree | c35fad85935dd435bc7ff3723ea42575b872c7d3 /tests/integration | |
parent | 9c57c847279839b142e123149f51a262bcf9e265 (diff) | |
download | buildstream-25b2577604a05df7314a7e7cc78f8f163cd6dbd4.tar.gz |
tests/integration/autotools.py: Check build log
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/autotools.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/integration/autotools.py b/tests/integration/autotools.py index 86a06aa4f..d1ab82e53 100644 --- a/tests/integration/autotools.py +++ b/tests/integration/autotools.py @@ -44,6 +44,14 @@ def test_autotools_build(cli, datafiles): ], ) + # Check the log + result = cli.run(project=project, args=["artifact", "log", element_name]) + assert result.exit_code == 0 + log = result.output + + # Verify we get expected output exactly once + assert log.count("Making all in src") == 1 + # Test that an autotools build 'works' - we use the autotools sample # amhello project for this. |