summaryrefslogtreecommitdiff
path: root/tests.as-root/system-overlap.script
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-28 16:10:39 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-28 18:48:56 +0100
commite673826fbab90b1bb3b1b93277cab0e489fec190 (patch)
treeb4a9d24f37ea7cd56f4a1f069b6bb25c62a06ace /tests.as-root/system-overlap.script
parent414516fbbc8e961ea6336597bfa8fc3d528fb327 (diff)
downloadmorph-e673826fbab90b1bb3b1b93277cab0e489fec190.tar.gz
Add check for missing build depends in strata
This will make a build fail if the morphology is missing explicit build dependencies. Also fix test causes so that ./check passes.
Diffstat (limited to 'tests.as-root/system-overlap.script')
-rwxr-xr-xtests.as-root/system-overlap.script12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests.as-root/system-overlap.script b/tests.as-root/system-overlap.script
index 71b55e24..b6e3238e 100755
--- a/tests.as-root/system-overlap.script
+++ b/tests.as-root/system-overlap.script
@@ -45,12 +45,14 @@ cat <<EOF >foo-baz-stratum.morph
{
"name": "overlap-foo-baz",
"repo": "test:chunk-repo",
- "ref": "overlap"
+ "ref": "overlap",
+ "build-depends": []
},
{
"name": "linux",
"repo": "test:kernel-repo",
- "ref": "master"
+ "ref": "master",
+ "build-depends": ["overlap-foo-baz"]
}
]
}
@@ -63,12 +65,14 @@ cat <<EOF >foo-barqux-stratum.morph
{
"name": "overlap-foobar",
"repo": "test:chunk-repo",
- "ref": "overlap"
+ "ref": "overlap",
+ "build-depends": []
},
{
"name": "overlap-fooqux",
"repo": "test:chunk-repo",
- "ref": "overlap"
+ "ref": "overlap",
+ "build-depends": ["overlap-foobar"]
}
]
}