Skip to content

Commit e7c463a

Browse files
committed
Add Makefile variable to skip test packages
Signed-off-by: Derek McGowan <[email protected]> (cherry picked from commit 94d4998) Signed-off-by: Derek McGowan <[email protected]>
1 parent bc7c954 commit e7c463a

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
@@ -80,6 +80,11 @@ TEST_REQUIRES_ROOT_PACKAGES=$(filter \
8080
done | sort -u) \
8181
)
8282

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

0 commit comments

Comments
 (0)