runtest.sh : filtrage messages erreur inutiles
This commit is contained in:
parent
7af9e68e20
commit
e37be80d0a
20
runtest.sh
20
runtest.sh
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user