mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
gitlab-ci: handle single runtime test in script
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Arnout Vandecappelle <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
@@ -78,7 +78,13 @@ gen_tests() {
|
||||
fi
|
||||
case "${CI_COMMIT_REF_NAME}" in
|
||||
# For the branch or tag name named *-runtime-tests, create a pipeline.
|
||||
(*-runtime-tests) run_tests=true;;
|
||||
(*-runtime-tests)
|
||||
run_tests=true
|
||||
;;
|
||||
(*-tests.*)
|
||||
tests=( "${CI_COMMIT_REF_NAME##*-}" )
|
||||
run_tests=true
|
||||
;;
|
||||
esac
|
||||
|
||||
if ${run_tests}; then
|
||||
|
||||
Reference in New Issue
Block a user