test: fix package splitting when appending REPO_PATH to tests

This commit is contained in:
Anthony Romano 2017-06-06 15:20:39 -07:00
parent 7350525937
commit 9a367a39d0

7
test
View File

@ -54,9 +54,10 @@ else
FMT="$TEST" FMT="$TEST"
fi fi
# split TEST into an array and prepend REPO_PATH to each local package # prepend REPO_PATH to each local package
split=(${TEST// / }) split=$TEST
TEST=${split/#/${REPO_PATH}/} TEST=""
for a in $split; do TEST="$TEST ${REPO_PATH}/${a}"; done
# TODO: 'client' pkg fails with gosimple from generated files # TODO: 'client' pkg fails with gosimple from generated files
# TODO: 'rafttest' is failing with unused # TODO: 'rafttest' is failing with unused