From 9600cb9073edca551ee0a96e61fbcd8e01662ec5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 31 Aug 2017 18:32:19 +0300 Subject: Allow separate tests run each time from clean configuration file. Last configuration file will be uploaded as artifact. --- tools/ci/scripts/separateunittests.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/ci/scripts') 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 -- cgit v1.2.3-60-g2f50