Skip to content

Commit 94d4998

Browse files
committed
Add Makefile variable to skip test packages
Signed-off-by: Derek McGowan <[email protected]>
1 parent b9fad5e commit 94d4998

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ TEST_REQUIRES_ROOT_PACKAGES=$(filter \
8181
done | sort -u) \
8282
)
8383

84+
ifdef SKIPTESTS
85+
PACKAGES:=$(filter-out ${SKIPTESTS},${PACKAGES})
86+
TEST_REQUIRES_ROOT_PACKAGES:=$(filter-out ${SKIPTESTS},${TEST_REQUIRES_ROOT_PACKAGES})
87+
endif
88+
8489
# Project binaries.
8590
COMMANDS=ctr containerd containerd-stress
8691
MANPAGES=ctr.1 containerd.1 containerd-config.1 containerd-config.toml.5

0 commit comments

Comments
 (0)