summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/separateunittests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts/separateunittests.sh')
-rwxr-xr-xtools/ci/scripts/separateunittests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ci/scripts/separateunittests.sh b/tools/ci/scripts/separateunittests.sh
index 9db32ead8..6e69069e8 100755
--- a/tools/ci/scripts/separateunittests.sh
+++ b/tools/ci/scripts/separateunittests.sh
@@ -7,10 +7,14 @@ export LIST=./logs/testslist.txt
IFS='
'
+export HOME="logs/home"
+
for str in $(cat ${LIST})
do
unset IFS
declare -a "arr=($str)"
+ rm -rf "${HOME}"
+ mkdir "${HOME}"
echo ./src/manaplustests --test-case=\"${arr[0]}\" --subcase=\"${arr[1]}\"
./src/manaplustests --test-case="${arr[0]}" --subcase="${arr[1]}" || exit 1
done