diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2019-08-14 08:09:29 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2019-08-14 08:09:29 +0100 |
commit | 5a02d732b24d9a86b654790e7806eb5da7a109f1 (patch) | |
tree | f5af8a55901168e2b7f58034e88c82c3c34b9472 | |
parent | 2a47d489575136c8dd12e99c2266f3459ba77a52 (diff) | |
download | buildstream-5a02d732b24d9a86b654790e7806eb5da7a109f1.tar.gz |
tests: Verify that a missing-command causes a cached failure
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-rw-r--r-- | tests/sandboxes/missing-command.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sandboxes/missing-command.py b/tests/sandboxes/missing-command.py index 0277389a9..171e855f7 100644 --- a/tests/sandboxes/missing-command.py +++ b/tests/sandboxes/missing-command.py @@ -20,3 +20,4 @@ def test_missing_command(cli, datafiles): project = str(datafiles) result = cli.run(project=project, args=['build', 'no-runtime.bst']) result.assert_task_error(ErrorDomain.SANDBOX, 'missing-command') + assert cli.get_element_state(project, 'no-runtime.bst') == 'failed' |