This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch chandan/stack-stricter-warnings in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit ce398b8f89b30bbb012fddd424f78914f7ebd273 Author: Chandan Singh <[email protected]> AuthorDate: Tue Jul 16 19:05:51 2019 +0100 fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! tests: Remove build dependencies from stack elements --- src/buildstream/testing/_sourcetests/track_cross_junction.py | 2 +- tests/frontend/workspace.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/buildstream/testing/_sourcetests/track_cross_junction.py b/src/buildstream/testing/_sourcetests/track_cross_junction.py index 31443bd..01ed6da 100644 --- a/src/buildstream/testing/_sourcetests/track_cross_junction.py +++ b/src/buildstream/testing/_sourcetests/track_cross_junction.py @@ -85,7 +85,7 @@ def generate_simple_stack(project, name, dependencies): element_path = os.path.join(project, 'elements', element_name) element = { 'kind': 'stack', - 'depends': dependencies + 'runtime-depends': dependencies } _yaml.roundtrip_dump(element, element_path) diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py index 6e23ec4..09708a7 100644 --- a/tests/frontend/workspace.py +++ b/tests/frontend/workspace.py @@ -1270,8 +1270,8 @@ TEST_DIR = os.path.join( @pytest.mark.parametrize( ["case", "non_workspaced_elements_state"], [ - ("workspaced-build-dep", ["waiting", "waiting", "waiting", "waiting", "waiting"]), - ("workspaced-runtime-dep", ["buildable", "buildable", "waiting", "waiting", "waiting"]) + ("workspaced-build-dep", ["waiting", "waiting", "buildable", "waiting", "waiting"]), + ("workspaced-runtime-dep", ["buildable", "buildable", "buildable", "waiting", "waiting"]) ], ) @pytest.mark.parametrize("strict", [("strict"), ("non-strict")])
