Create results directory for functional test results if doesn't exist

Change-Id: Ib9a806a8115bda7e190662fc70744788852f3a36
This commit is contained in:
Felipe Monteiro 2017-10-26 21:33:44 +01:00
parent 1d3fce4674
commit c55fa41238
1 changed files with 5 additions and 0 deletions

View File

@ -129,6 +129,11 @@ log_section Running tests
ROOTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Create folder for saving HTML test results.
if [ ! -d $ROOTDIR/results ]; then
mkdir $ROOTDIR/results
fi
set +e
posargs=$@
if [ ${#posargs} -ge 1 ]; then