mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
run bats -T, to profile timing hogs
Signed-off-by: Ed Santiago <santiago@redhat.com> Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
committed by
Paul Holzinger
parent
350dfabf66
commit
80ed85dc17
4
Makefile
4
Makefile
@ -665,7 +665,7 @@ localmachine:
|
||||
localsystem:
|
||||
# Wipe existing config, database, and cache: start with clean slate.
|
||||
$(RM) -rf ${HOME}/.local/share/containers ${HOME}/.config/containers
|
||||
if timeout -v 1 true; then PODMAN=$(CURDIR)/bin/podman QUADLET=$(CURDIR)/bin/quadlet bats test/system/; else echo "Skipping $@: 'timeout -v' unavailable'"; fi
|
||||
if timeout -v 1 true; then PODMAN=$(CURDIR)/bin/podman QUADLET=$(CURDIR)/bin/quadlet bats -T test/system/; else echo "Skipping $@: 'timeout -v' unavailable'"; fi
|
||||
|
||||
.PHONY: remotesystem
|
||||
remotesystem:
|
||||
@ -690,7 +690,7 @@ remotesystem:
|
||||
echo "Error: ./bin/podman system service did not come up on $$SOCK_FILE" >&2;\
|
||||
exit 1;\
|
||||
fi;\
|
||||
env PODMAN="$(CURDIR)/bin/podman-remote --url $$PODMAN_SOCKET" bats test/system/ ;\
|
||||
env PODMAN="$(CURDIR)/bin/podman-remote --url $$PODMAN_SOCKET" bats -T test/system/ ;\
|
||||
rc=$$?;\
|
||||
kill %1;\
|
||||
rm -f $$SOCK_FILE;\
|
||||
|
||||
Reference in New Issue
Block a user