tests/run.sh: Temporarily disable -x in wait_until_success

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-08-05 17:57:50 +02:00
parent 17e8827212
commit 0ee24317c7
1 changed files with 6 additions and 0 deletions

View File

@ -76,6 +76,9 @@ awesome_log=$tmp_files/_awesome_test.log
echo "awesome_log: $awesome_log"
wait_until_success() {
if [ "$CI" = true ]; then
set +x
fi
max_wait=60
while true; do
set +e
@ -97,6 +100,9 @@ wait_until_success() {
fi
sleep 0.05
done
if [ "$CI" = true ]; then
set -x
fi
}
# Wait for DISPLAY to be available, and setup xrdb,