summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <chandan@chandansingh.net>2019-07-16 19:05:51 +0100
committerChandan Singh <chandan@chandansingh.net>2019-07-16 19:05:51 +0100
commitce398b8f89b30bbb012fddd424f78914f7ebd273 (patch)
tree530a956caeedc84d22792dcdea2dd181f849fecf
parent4a6d51e0b4ab2e536fc256d5f730cca982ce2ce5 (diff)
downloadbuildstream-ce398b8f89b30bbb012fddd424f78914f7ebd273.tar.gz
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! tests: Remove build dependencies from stack elements
-rw-r--r--src/buildstream/testing/_sourcetests/track_cross_junction.py2
-rw-r--r--tests/frontend/workspace.py4
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 31443bdf9..01ed6dafd 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 6e23ec488..09708a76c 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")])