hack/make: fix test-unit target to propogate TESTFLAGS properly
Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh) Upstream-commit: 9a2d4e92730a576a05e40f7575a6c90512896e87 Component: engine
This commit is contained in:
@ -56,7 +56,7 @@ go_run_test_dir() {
|
||||
echo
|
||||
echo '+ go test' $TESTFLAGS "${DOCKER_PKG}${dir#.}"
|
||||
precompiled="$DEST/precompiled/$dir.test"
|
||||
if ! ( cd "$dir" && "$precompiled" ); then
|
||||
if ! ( cd "$dir" && "$precompiled" $TESTFLAGS ); then
|
||||
TESTS_FAILED+=("$dir")
|
||||
echo
|
||||
echo "${RED}Tests failed: $dir${TEXTRESET}"
|
||||
|
||||
Reference in New Issue
Block a user