mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #7765 from erikh/test_unit_testflags
hack/make: fix test-unit target to propogate TESTFLAGS properly
This commit is contained in:
commit
ca24e91408
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Reference in a new issue