mirror of
https://github.com/containers/skopeo.git
synced 2025-09-09 10:39:30 +00:00
Improve parameter passing to hack/test-system.sh
Allow passing SKOPEO_LDFLAGS and BUILDTAGS. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -221,7 +221,7 @@ test-system:
|
|||||||
# Intended for CI, assumed to already be running in quay.io/libpod/skopeo_cidev container.
|
# Intended for CI, assumed to already be running in quay.io/libpod/skopeo_cidev container.
|
||||||
test-system-local: bin/skopeo
|
test-system-local: bin/skopeo
|
||||||
hack/warn-destructive-tests.sh
|
hack/warn-destructive-tests.sh
|
||||||
hack/test-system.sh
|
hack/test-system.sh SKOPEO_LDFLAGS="$(SKOPEO_LDFLAGS)" BUILDTAGS="$(BUILDTAGS)"
|
||||||
|
|
||||||
test-unit:
|
test-unit:
|
||||||
# Just call (make test unit-local) here instead of worrying about environment differences
|
# Just call (make test unit-local) here instead of worrying about environment differences
|
||||||
|
@@ -38,7 +38,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Build skopeo, install into /usr/bin
|
# Build skopeo, install into /usr/bin
|
||||||
make PREFIX=/usr install
|
make PREFIX=/usr install "$@"
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
SKOPEO_BINARY=/usr/bin/skopeo bats --tap systemtest
|
SKOPEO_BINARY=/usr/bin/skopeo bats --tap systemtest
|
||||||
|
Reference in New Issue
Block a user