File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -386,13 +386,13 @@ print_usage()
386386# ###################
387387
388388# whether or not to exit after first test has failed
389- fail_immediately =
390- [[ " ${1} " == " --fail_immediately " ]] && fail_immediately =1
389+ fail-immediately =
390+ [[ " ${1} " == " --fail-immediately " ]] && fail-immediately =1
391391
392392while [ " $1 " != " " ] ; do
393393 case $1 in
394- --fail_immediately ) shift
395- fail_immediately =1
394+ --fail-immediately ) shift
395+ fail-immediately =1
396396 ;;
397397 --keep-artifacts ) shift
398398 KEEP_ONLY_LOGS=0
@@ -504,7 +504,7 @@ for ini in ${ini_files_full_paths} ; do
504504 RET=${?}
505505 if [[ " ${RET} " != " 0" ]] ; then
506506 ret_global=${RET}
507- [[ " ${fail_immediately } " == " 1" ]] && break
507+ [[ " ${fail-immediately } " == " 1" ]] && break
508508 fi
509509done
510510
@@ -531,7 +531,7 @@ while (( completed < total_tests )) ; do
531531 if [[ " ${RET} " != " 0" ]] ; then
532532 echo_red " Test ${test_num} : ${ini_path} with generator ${generator} -> FAILED"
533533 ret_global=${RET}
534- if [[ " ${fail_immediately } " == " 1" ]] ; then
534+ if [[ " ${fail-immediately } " == " 1" ]] ; then
535535 # Kill remaining background jobs
536536 for remaining_pid in " ${test_pids[@]} " ; do
537537 kill ${remaining_pid} 2> /dev/null
You can’t perform that action at this time.
0 commit comments