diff options
author | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-08-03 14:20:33 -0400 |
---|---|---|
committer | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-08-03 14:23:01 -0400 |
commit | 0080b4ef247528bf2c7fd1e060cd86195b521d27 (patch) | |
tree | 8f0b03c6b6258d880e31750b7dbe694fd8e66629 | |
parent | bef02935185814a812696b5827d8db28161af358 (diff) | |
download | buildstream-0080b4ef247528bf2c7fd1e060cd86195b521d27.tar.gz |
tests/frontend/overlaps.py: Fixed test case after implementing fatal warnings
This test case was written originally after fatal warnings was
introduced in master, but differently in bst-1; backporting the
fatal warnings feature requires this test case to be changed to
match the one in master.
-rw-r--r-- | tests/frontend/overlaps.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/frontend/overlaps.py b/tests/frontend/overlaps.py index 1a2f37d0d..99c312014 100644 --- a/tests/frontend/overlaps.py +++ b/tests/frontend/overlaps.py @@ -110,7 +110,7 @@ def test_overlap_subproject(cli, tmpdir, datafiles, project_policy, subproject_p result = cli.run(project=project_dir, silent=True, args=['build', 'sub-collect.bst']) if project_policy == 'fail': result.assert_main_error(ErrorDomain.STREAM, None) - result.assert_task_error(ErrorDomain.ELEMENT, "overlap-error") + result.assert_task_error(ErrorDomain.PLUGIN, CoreWarnings.OVERLAPS) else: result.assert_success() - assert "WARNING Non-whitelisted overlaps detected" in result.stderr + assert "WARNING [overlaps]" in result.stderr |