From be413fead58986c1098aa18d07e9c83baf78bbf2 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Mon, 19 Aug 2024 09:28:47 +0200 Subject: [PATCH] runtest.sh : correction erreur break --- runtest.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtest.sh b/runtest.sh index 8c68e84..d8e6420 100755 --- a/runtest.sh +++ b/runtest.sh @@ -86,7 +86,7 @@ do -a ) # exécuter tous les tests tests=tous - break + shift ;; -c ) # afficher la fenêtre de chrome @@ -132,7 +132,6 @@ for elem in ${!options[@]} do COMMANDE="${COMMANDE} $elem ${options[$elem]}" done -echo "${COMMANDE}" # S'assurer que le script de test est à jour make ${TESTFILE} @@ -149,6 +148,7 @@ if [[ "$tests" == "tous" ]] then # exécuter tous les tests COMMEXEC="${COMMANDE} ${TESTFILE}" + echo "$COMMEXEC" if [[ $KILL -eq 1 ]] then eval ${COMMEXEC} 2>&1 | traiter_test @@ -162,6 +162,7 @@ then do echo "Tester « $test »" COMMEXEC="${COMMANDE} -f \"$test\" ${TESTFILE}" + echo "$COMMEXEC" if [[ $KILL -eq 1 ]] then eval ${COMMEXEC} 2>&1 | traiter_test @@ -190,6 +191,7 @@ else for test in $lesTests do COMMEXEC="${COMMANDE} -f \"$test\" ${TESTFILE}" + echo "$COMMEXEC" CURIFS=$IFS IFS=$OLDIFS if [[ $KILL -eq 1 ]]