diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-06-28 16:10:39 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-06-28 18:48:56 +0100 |
commit | e673826fbab90b1bb3b1b93277cab0e489fec190 (patch) | |
tree | b4a9d24f37ea7cd56f4a1f069b6bb25c62a06ace /tests.branching | |
parent | 414516fbbc8e961ea6336597bfa8fc3d528fb327 (diff) | |
download | morph-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.branching')
-rw-r--r-- | tests.branching/edit-updates-stratum.stdout | 11 | ||||
-rwxr-xr-x | tests.branching/setup | 3 |
2 files changed, 9 insertions, 5 deletions
diff --git a/tests.branching/edit-updates-stratum.stdout b/tests.branching/edit-updates-stratum.stdout index 7dd3a8e2..71038a16 100644 --- a/tests.branching/edit-updates-stratum.stdout +++ b/tests.branching/edit-updates-stratum.stdout @@ -1,8 +1,8 @@ diff --git a/hello-stratum.morph b/hello-stratum.morph -index d7c0afe..af63df7 100644 +index 77fb1d0..c5ed672 100644 --- a/hello-stratum.morph +++ b/hello-stratum.morph -@@ -1,10 +1,13 @@ +@@ -1,12 +1,14 @@ { - "name": "hello-stratum", - "kind": "stratum", @@ -13,10 +13,13 @@ index d7c0afe..af63df7 100644 { - "name": "hello", - "ref": "master", -+ "build-depends": null, +- "repo": "baserock:hello", +- "build-depends": [] ++ "build-depends": [], + "morph": "hello", + "name": "hello", + "ref": "newbranch", - "repo": "baserock:hello" ++ "repo": "baserock:hello" } ] + } diff --git a/tests.branching/setup b/tests.branching/setup index 714be9da..3b9e7e7b 100755 --- a/tests.branching/setup +++ b/tests.branching/setup @@ -63,7 +63,8 @@ cat <<EOF > "$DATADIR/morphs/hello-stratum.morph" { "name": "hello", "ref": "master", - "repo": "baserock:hello" + "repo": "baserock:hello", + "build-depends": [] } ] } |