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"
fi
# split TEST into an array and prepend REPO_PATH to each local package
split=(${TEST// / })
TEST=${split/#/${REPO_PATH}/}
# prepend REPO_PATH to each local package
split=$TEST
TEST=""
for a in $split; do TEST="$TEST ${REPO_PATH}/${a}"; done
# TODO: 'client' pkg fails with gosimple from generated files
# TODO: 'rafttest' is failing with unused