mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #39930 from thaJeztah/fix_TESTFLAGS
hack/test/unit: fix custom TESTFLAGS not working
This commit is contained in:
commit
3acf0cc795
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
set -eu -o pipefail
|
||||
|
||||
BUILDFLAGS=( -tags 'netgo seccomp libdm_no_deferred_remove' )
|
||||
TESTFLAGS+="-test.timeout=${TIMEOUT:-5m}"
|
||||
TESTFLAGS+=" -test.timeout=${TIMEOUT:-5m}"
|
||||
TESTDIRS="${TESTDIRS:-./...}"
|
||||
exclude_paths='/vendor/|/integration'
|
||||
pkg_list=$(go list $TESTDIRS | grep -vE "($exclude_paths)")
|
||||
|
|
Loading…
Add table
Reference in a new issue