mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
make: fix unit-tests
The comma character should be put into the argument value by variable substitution. Update #10045
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user