From 8bfc1a86861c8cf07ede7c5dc06a82366f7fddc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pereira?= Date: Thu, 30 May 2024 15:06:15 -0500 Subject: [PATCH] Allow parameters to be passed to all tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Pereira --- hack/test-all-local-registry.sh | 2 +- hack/test-all.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hack/test-all-local-registry.sh b/hack/test-all-local-registry.sh index 3b9d12bbd..2ba0984dc 100755 --- a/hack/test-all-local-registry.sh +++ b/hack/test-all-local-registry.sh @@ -13,4 +13,4 @@ trap cleanup EXIT docker run -d -p "$PORT":5000 -e REGISTRY_VALIDATION_MANIFESTS_URLS_ALLOW='- ^https?://' --restart always --name registry-"$PORT" registry:2 export IMGPKG_E2E_IMAGE="localhost:$PORT/local-tests/test-repo" export IMGPKG_E2E_RELOCATION_REPO="localhost:$PORT/local-tests/test-relocation-repo" -./hack/test-all.sh $@ +./hack/test-all.sh ${@:2} diff --git a/hack/test-all.sh b/hack/test-all.sh index 54b710a2b..462f7aa40 100755 --- a/hack/test-all.sh +++ b/hack/test-all.sh @@ -10,9 +10,9 @@ fi export IMGPKG_BINARY="$PWD/imgpkg${IMGPKG_BINARY_EXT-}" -./hack/test.sh -./hack/test-e2e.sh -./hack/test-perf.sh -./hack/test-helpers.sh +./hack/test.sh $@ +./hack/test-e2e.sh $@ +./hack/test-perf.sh $@ +./hack/test-helpers.sh $@ echo ALL SUCCESS