aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan S. Arnold <ryan.arnold@linaro.org>2014-02-03 17:34:57 -0600
committerRyan S. Arnold <ryan.arnold@linaro.org>2014-02-03 17:34:57 -0600
commit40c20537155cad7fcb12a814a3ca4bc39952daf5 (patch)
tree3f3cda6e45522ed403958c8628f6373e99e6fd74
parentc12152df8801907e3ae84203349e5b2eac0a9b0f (diff)
test.sh: Add --disable update test cases.
Change-Id: I9d7004188bcb5146bd5185f1b3ff249a5336021f
-rwxr-xr-xcbuild2.sh1
-rwxr-xr-xtest.sh8
2 files changed, 9 insertions, 0 deletions
diff --git a/cbuild2.sh b/cbuild2.sh
index 959af23c..ebb819cf 100755
--- a/cbuild2.sh
+++ b/cbuild2.sh
@@ -186,6 +186,7 @@ dump()
echo "Bootstrap ${bootstrap}"
echo "Install ${install}"
+ echo "Source Update ${supdate}"
}
usage()
diff --git a/test.sh b/test.sh
index d7699d7b..3df92ba6 100755
--- a/test.sh
+++ b/test.sh
@@ -390,6 +390,14 @@ cb_commands="--disable install --dump"
match='Install no'
test_pass "${cb_commands}" "${match}"
+cb_commands="--dump"
+match='Source Update yes'
+test_pass "${cb_commands}" "${match}"
+
+cb_commands="--disable update --dump"
+match='Source Update no'
+test_pass "${cb_commands}" "${match}"
+
# This tests that --checkout and --build can be run together.
cb_commands="--dryrun --target arm-none-linux-gnueabihf --checkout all --build all"
match=''