Merge pull request #8041 from heyitsanthony/fix-test-split

test: fix package splitting when appending REPO_PATH to tests
This commit is contained in:
Anthony Romano 2017-06-06 16:39:41 -07:00 committed by GitHub
commit d83d7e8262

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