runtest.sh : filtrage messages erreur inutiles

This commit is contained in:
Jean-Christophe Engel 2024-08-23 19:24:27 +02:00
parent 7af9e68e20
commit e37be80d0a

View File

@ -39,17 +39,23 @@ traiter_test()
motif="^Ran all test suites.*" motif="^Ran all test suites.*"
while read line while read line
do do
echo "$line"
if if
echo $line | grep -q -E -e "$motif" echo "$line" | grep -q -e "Playback._executionLoop"
then then
echo "** Fini ***" continue
pids=$(pgrep --full selenium-side-runner) else
if [[ -n "$pids" ]] echo "$line"
if
echo $line | grep -q -E -e "$motif"
then then
kill $pids echo "** Fini ***"
pids=$(pgrep --full selenium-side-runner)
if [[ -n "$pids" ]]
then
kill $pids
fi
ps faux | grep selenium-side-runner | grep -v grep
fi fi
ps faux | grep selenium-side-runner | grep -v grep
fi fi
done done
} }