Skip to content

Commit 18268ac

Browse files
authored
Rollback all replacements
1 parent fde52fd commit 18268ac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/run_generator_tests.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

392392
while [ "$1" != "" ] ; do
393393
case $1 in
394394
--fail-immediately ) shift
395-
fail-immediately=1
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
509509
done
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

0 commit comments

Comments
 (0)