test: Add doc note about skipping docker tests
This is useful if you don't have docker running, since otherwise it causes all the tests to fail.
This commit is contained in:
@@ -25,6 +25,8 @@ function run-test()
|
|||||||
$XSUDO $@ || failures=$( [ -n "$failures" ] && echo "$failures\\n$@" || echo "$@" )
|
$XSUDO $@ || failures=$( [ -n "$failures" ] && echo "$failures\\n$@" || echo "$@" )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# NOTE: you can run `go test` with the -tags flag to skip certain tests, eg:
|
||||||
|
# go test -tags nodocker github.com/purpleidea/mgmt/engine/resources -v
|
||||||
base=$(go list .)
|
base=$(go list .)
|
||||||
if [[ "$@" = *"--integration"* ]]; then
|
if [[ "$@" = *"--integration"* ]]; then
|
||||||
if [[ "$@" = *"--race"* ]]; then
|
if [[ "$@" = *"--race"* ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user