Skip to content

Commit 095a1af

Browse files
authored
Merge pull request #3947 from dmcgowan/backport-1.3-skip-tests
[release/1.3] Add Makefile variable to skip test packages
2 parents bc7c954 + e7c463a commit 095a1af

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)