Merge pull request #10036 from avagin:make-unit-tests

PiperOrigin-RevId: 609822337
This commit is contained in:
gVisor bot
2024-02-23 13:34:33 -08:00
+4 -1
View File
@@ -24,6 +24,7 @@ header = echo --- $(1) >&2
EMPTY :=
SPACE := $(EMPTY) $(EMPTY)
SHELL = /bin/bash
COMMA := ,
## usage: make <target>
## or
@@ -216,8 +217,10 @@ nogo-tests:
# For unit tests, we take everything in the root, pkg/... and tools/..., and
# pull in all directories in runsc except runsc/container.
#
# FIXME(gvisor.dev/issue/10045): Need to fix broken tests.
unit-tests: ## Local package unit tests in pkg/..., tools/.., etc.
@$(call test,'--test_tag_filters=-nogo,-requires-kvm' //:all pkg/... tools/... runsc/... vdso/... test/trace/...)
@$(call test,--test_tag_filters=-nogo$(COMMA)-requires-kvm -- //:all pkg/... tools/... runsc/... vdso/... test/trace/... -//pkg/metric:metric_test -//pkg/coretag:coretag_test -//runsc/config:config_test -//tools/tracereplay:tracereplay_test -//test/trace:trace_test)
.PHONY: unit-tests
# See unit-tests: this includes runsc/container.