mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
hack/test-integration.sh: provide a recommended command and exit
This commit is contained in:
parent
98f5c362ff
commit
bd77aa9ae5
@ -22,17 +22,12 @@ set -o pipefail
|
|||||||
|
|
||||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
|
|
||||||
# For help output
|
echo "$0 has been replaced by 'make test-integration'"
|
||||||
ARGHELP=""
|
|
||||||
if [[ "$#" -gt 0 ]]; then
|
|
||||||
ARGHELP="WHAT='$@'"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "NOTE: $0 has been replaced by 'make test-integration'"
|
|
||||||
echo
|
echo
|
||||||
echo "The equivalent of this invocation is: "
|
echo "The following invocation will run all integration tests: "
|
||||||
echo " make test-integration ${ARGHELP}"
|
echo ' make test-integration'
|
||||||
echo
|
echo
|
||||||
|
echo "The following invocation will run a specific test with the verbose flag set: "
|
||||||
|
echo ' make test-integration WHAT=./test/integration/pods KUBE_GOFLAGS="-v" KUBE_TEST_ARGS="-run ^TestPodUpdateActiveDeadlineSeconds$"'
|
||||||
echo
|
echo
|
||||||
make --no-print-directory -C "${KUBE_ROOT}" test-integration WHAT="$*"
|
exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user