Merge pull request #3798 from matrix-org/dbkr/dont_fail_if_logs_empty

Don't fail if logs exists and is an empty dir
pull/21833/head
David Baker 2020-01-03 16:04:02 +00:00 committed by GitHub
commit 9bf5449f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ echo "--- Install synapse & other dependencies"
./install.sh
# install static webserver to server symlinked local copy of riot
./riot/install-webserver.sh
mkdir logs || rm -r logs/*
rm -r logs || true
mkdir logs
echo "+++ Running end-to-end tests"
TESTS_STARTED=1
./run.sh --no-sandbox --log-directory logs/