From 203a4cf741b79d8ae0e2350a7f69a86ca94de646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Wed, 9 Jul 2025 23:33:33 +0200 Subject: [PATCH] Improve parameter passing to hack/test-system.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow passing SKOPEO_LDFLAGS and BUILDTAGS. Signed-off-by: Miloslav Trmač --- Makefile | 2 +- hack/test-system.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9efc3cc7..864997a1 100644 --- a/Makefile +++ b/Makefile @@ -221,7 +221,7 @@ test-system: # Intended for CI, assumed to already be running in quay.io/libpod/skopeo_cidev container. test-system-local: bin/skopeo hack/warn-destructive-tests.sh - hack/test-system.sh + hack/test-system.sh SKOPEO_LDFLAGS="$(SKOPEO_LDFLAGS)" BUILDTAGS="$(BUILDTAGS)" test-unit: # Just call (make test unit-local) here instead of worrying about environment differences diff --git a/hack/test-system.sh b/hack/test-system.sh index 5474cfca..0f170b40 100755 --- a/hack/test-system.sh +++ b/hack/test-system.sh @@ -38,7 +38,7 @@ EOF fi # Build skopeo, install into /usr/bin -make PREFIX=/usr install +make PREFIX=/usr install "$@" # Run tests SKOPEO_BINARY=/usr/bin/skopeo bats --tap systemtest