diff options
author | Ryan S. Arnold <ryan.arnold@linaro.org> | 2014-07-14 17:32:17 +0100 |
---|---|---|
committer | Ryan S. Arnold <ryan.arnold@linaro.org> | 2014-07-14 17:32:17 +0100 |
commit | 92882d814c4bfaffe6f1a65c6e8a1699117937c5 (patch) | |
tree | e9649c9458db9e9d333a7373cb200a29a14008d2 /test.sh | |
parent | 78c403cf6f1bf7790bce7db6f131f7ae0f0f2ae6 (diff) |
cbuild2.sh: Make --dump a do_ option so it's position doesn't matter.
Change-Id: I89bdc9498cb9372a9ebabf6a9860ab31de6169af
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -457,6 +457,16 @@ cb_commands="--disable update --dump" match='Source Update no' test_pass "${cb_commands}" "${match}" +# Test dump ordering. --target processing is immediate, so --dump +# should work before or after --target. +cb_commands="--target arm-linux-gnueabihf --dump" +match='Target is\: arm-linux-gnueabihf' +test_pass "${cb_commands}" "${match}" + +cb_commands="--dump --target arm-linux-gnueabihf" +match='Target is\: arm-linux-gnueabihf' +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='' |