diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2018-09-24 17:15:41 +0100 |
---|---|---|
committer | richardmaw-codethink <richard.maw@codethink.co.uk> | 2018-09-27 15:16:57 +0000 |
commit | d2ea306908c90d83e3798e2be42236bb77c0a48b (patch) | |
tree | f502acd9109b8135cb9d76bf51b403963f8e139a | |
parent | 261f65cafaf1ab06c52a3155a01256b67df92b70 (diff) | |
download | buildstream-d2ea306908c90d83e3798e2be42236bb77c0a48b.tar.gz |
tests: Add regression test for pushing failed buildsrichardmaw/push-failed-build-regression
This test ensures that failed builds are pushed when set to on-error=quit.
Closes https://gitlab.com/BuildStream/buildstream/issues/534
-rw-r--r-- | tests/integration/cachedfail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/cachedfail.py b/tests/integration/cachedfail.py index f4cabb32c..4d89ca11a 100644 --- a/tests/integration/cachedfail.py +++ b/tests/integration/cachedfail.py @@ -121,7 +121,7 @@ def test_build_depend_on_cached_fail(cli, tmpdir, datafiles): @pytest.mark.skipif(not IS_LINUX, reason='Only available on linux') @pytest.mark.datafiles(DATA_DIR) -@pytest.mark.parametrize("on_error", ("continue",)) +@pytest.mark.parametrize("on_error", ("continue", "quit")) def test_push_cached_fail(cli, tmpdir, datafiles, on_error): project = os.path.join(datafiles.dirname, datafiles.basename) element_path = os.path.join(project, 'elements', 'element.bst') |