diff --git a/ci/cloudbuild/run_test.sh b/ci/cloudbuild/run_test.sh index c1af9c6a..1fc424bd 100644 --- a/ci/cloudbuild/run_test.sh +++ b/ci/cloudbuild/run_test.sh @@ -100,4 +100,8 @@ for d in ${subdirs[@]}; do fi done -${btlr_bin} run ${dirs_to_test[@]} -- ${test_script} +if [ ${#dirs_to_test[@]} -gt 0 ]; then + ${btlr_bin} run ${dirs_to_test[@]} -- ${test_script} +else + echo "Nothing changed in the samples" +fi