diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2018-11-12 14:31:47 +0000 |
---|---|---|
committer | richardmaw-codethink <richard.maw@codethink.co.uk> | 2018-11-19 11:39:51 +0000 |
commit | f23b6031b1b6bd27858f44d3deb63282483e6197 (patch) | |
tree | c2babe587fc1e0f85b594d5b4a90c92e2df40c49 /tests/frontend/buildtrack.py | |
parent | ea2de561bb06683f9c2742e2ba46386c17788563 (diff) | |
download | buildstream-f23b6031b1b6bd27858f44d3deb63282483e6197.tar.gz |
tests/frontend/buildtrack.py: check for success after invocation
Previously the result of the first call in test_build_track was not
checked to be successful, which would lead to potential erros later on
that were hard to debug.
Let's check it everytime
Diffstat (limited to 'tests/frontend/buildtrack.py')
-rw-r--r-- | tests/frontend/buildtrack.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/frontend/buildtrack.py b/tests/frontend/buildtrack.py index 3f0a3adbe..720ab7efc 100644 --- a/tests/frontend/buildtrack.py +++ b/tests/frontend/buildtrack.py @@ -115,6 +115,7 @@ def test_build_track(cli, datafiles, tmpdir, ref_storage, args += ['0.bst'] result = cli.run(project=project, silent=True, args=args) + result.assert_success() tracked_elements = result.get_tracked_elements() assert set(tracked_elements) == set(tracked) |