]> git.baikalelectronics.ru Git - uboot.git/commit
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist
authorSimon Glass <sjg@chromium.org>
Wed, 18 Mar 2020 15:42:56 +0000 (09:42 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 11 Apr 2020 01:32:53 +0000 (21:32 -0400)
commit3b4d0ecdd391ea40ad952765d52ec9b6e54bd2c9
tree3b771a89ba44b3e6ca7020cd60ee64e04270c8a6
parentee9d2514027c2bb078fea03cd0bbbbc116036d32
travis/gitlab/azure: Use bash to avoid a_test_which_does_not_exist

Bash allows for variables to expand only if non-empty:

$ var=test
$ echo ${var:+"$var"}
test
$ echo ${var:+"-k $var"}
-k test
$ var=
$ echo ${var:+"-k $var"}

Use this feature to avoid the workaround.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
.azure-pipelines.yml
.gitlab-ci.yml
.travis.yml