mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 05:46:01 +02:00
Make sure to remove logs before retrying
This commit is contained in:
parent
0a8e94d031
commit
9511c45e6f
@ -181,8 +181,13 @@ do_run_test() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run_test() {
|
run_test() {
|
||||||
|
TEST_TYPE="$1"
|
||||||
|
TEST_CLIENT="$2"
|
||||||
|
SH="$3"
|
||||||
local attempts=3
|
local attempts=3
|
||||||
while test $attempts -gt 0 ; do
|
while test $attempts -gt 0 ; do
|
||||||
|
rm -f tests/shell/${SH}.${TEST_TYPE}.${TEST_CLIENT}.log
|
||||||
|
rm -f tests/shell/${SH}.${TEST_TYPE}.${TEST_CLIENT}.full.log
|
||||||
do_run_test "$@" && return 0
|
do_run_test "$@" && return 0
|
||||||
attempts=$(( attempts - 1 ))
|
attempts=$(( attempts - 1 ))
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user