Skip to content

Commit dfae8f1

Browse files
committed
Improve parameter passing to hack/test-system.sh
Allow passing SKOPEO_LDFLAGS and BUILDTAGS. Signed-off-by: Miloslav Trmač <[email protected]>
1 parent b80444c commit dfae8f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ test-system:
221221
# Intended for CI, assumed to already be running in quay.io/libpod/skopeo_cidev container.
222222
test-system-local: bin/skopeo
223223
hack/warn-destructive-tests.sh
224-
hack/test-system.sh
224+
hack/test-system.sh SKOPEO_LDFLAGS="$(SKOPEO_LDFLAGS)" BUILDTAGS="$(BUILDTAGS)"
225225

226226
test-unit:
227227
# Just call (make test unit-local) here instead of worrying about environment differences

hack/test-system.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ EOF
3838
fi
3939

4040
# Build skopeo, install into /usr/bin
41-
make PREFIX=/usr install
41+
make PREFIX=/usr install "$@"
4242

4343
# Run tests
4444
SKOPEO_BINARY=/usr/bin/skopeo bats --tap systemtest

0 commit comments

Comments
 (0)