summaryrefslogblamecommitdiff
path: root/tools/ci/scripts/separateunittests.sh
blob: 9db32ead834c013ca95e32d031726b1344abf247 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                               
#!/bin/bash

export LIST=./logs/testslist.txt

./tools/ci/scripts/gettests.py >${LIST} || exit 1

IFS='
'

for str in $(cat ${LIST})
do
    unset IFS
    declare -a "arr=($str)"
    echo ./src/manaplustests --test-case=\"${arr[0]}\" --subcase=\"${arr[1]}\"
    ./src/manaplustests --test-case="${arr[0]}" --subcase="${arr[1]}" || exit 1
done