Skip to content

Commit ba91708

Browse files
committed
Exiting always in tests: common, staging, noplugin test categories,
in selenium bender script. Mail handling is done inside their if block.
1 parent 76d30ce commit ba91708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/seleniumbender

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ if [ "${common}" -eq 1 ]; then
6565
RETVAL=$?
6666
if [ "${RETVAL}" -eq 1 ]; then
6767
mail -s "Selenium Tests: ${IDENTIFIER} Failed To Run" [email protected] <<< 'Something went wrong with common tests. Please check the logs.'
68-
exit ${RETVAL}
6968
fi
69+
exit ${RETVAL}
7070
elif [ "${examples}" -eq 1 ]; then
7171
IDENTIFIER="libraries_test"
7272
tox tests/libraries -- --url=${URL} --source=${SOURCE} -F --plugin
@@ -86,8 +86,8 @@ elif [ "${noplugin}" -eq 1 ]; then
8686
RETVAL=$?
8787
if [ "${RETVAL}" -eq 1 ]; then
8888
mail -s "Selenium Tests: ${IDENTIFIER} Failed To Run" [email protected] <<< 'Something went wrong with noplugin tests. Please check the logs.'
89-
exit ${RETVAL}
9089
fi
90+
exit ${RETVAL}
9191
fi
9292

9393
DATE=$(date +"%Y-%m-%d") # Get the current date

0 commit comments

Comments
 (0)