From d2ea306908c90d83e3798e2be42236bb77c0a48b Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 24 Sep 2018 17:15:41 +0100 Subject: tests: Add regression test for pushing failed builds This test ensures that failed builds are pushed when set to on-error=quit. Closes https://gitlab.com/BuildStream/buildstream/issues/534 --- tests/integration/cachedfail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.1