Skip to content

Commit

Permalink
add debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Oct 6, 2023
1 parent 4dd6e60 commit 57a1e76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/acceptance/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,8 @@ function get_behat_suites() {
ALL_SUITES=`echo "${ALL_SUITES}" | tr " " "\n"`

COUNT_ALL_SUITES=`echo "${ALL_SUITES}" | wc -l`
echo "Total suits to run: $COUNT_ALL_SUITES"

#divide the suites letting it round down (could be zero)
MIN_SUITES_PER_RUN=$((${COUNT_ALL_SUITES} / ${DIVIDE_INTO_NUM_PARTS}))
#some jobs might need an extra suite
Expand All @@ -486,6 +488,7 @@ function get_behat_suites() {

COUNT_FINISH_AND_TODO_SUITES=$((${SUITES_IN_PREVIOUS_RUNS} + ${SUITES_THIS_RUN}))
BEHAT_SUITES+=(`echo "${ALL_SUITES}" | head -n ${COUNT_FINISH_AND_TODO_SUITES} | tail -n ${SUITES_THIS_RUN}`)
echo "Suites to run in this run: $BEHAT_SUITES"
}

if [[ -n "${BEHAT_SUITE}" ]]
Expand Down

0 comments on commit 57a1e76

Please sign in to comment.