Split container tests from unit tests.

PiperOrigin-RevId: 351632484
This commit is contained in:
Adin Scannell 2021-01-13 11:46:25 -08:00 committed by gVisor bot
parent 0f25aa24f9
commit a684bfb6c0
2 changed files with 10 additions and 3 deletions

View File

@ -49,6 +49,9 @@ steps:
- <<: *common
label: ":test_tube: Unit tests"
command: make unit-tests
- <<: *common
label: ":test_tube: runsc tests"
command: make runsc-tests
# All system call tests.
- <<: *common

View File

@ -186,12 +186,16 @@ fuse-tests:
@$(call test,--test_tag_filters=fuse $(PARTITIONS) test/fuse/...)
.PHONY: fuse-tests
unit-tests: ## Local package unit tests in pkg/..., runsc/, tools/.., etc.
@$(call test,//:all pkg/... runsc/... tools/...)
unit-tests: ## Local package unit tests in pkg/..., tools/.., etc.
@$(call test,//:all pkg/... tools/...)
.PHONY: unit-tests
runsc-tests: ## Run all tests in runsc/...
@$(call test,runsc/...)
.PHONY: runsc-tests
tests: ## Runs all unit tests and syscall tests.
tests: unit-tests syscall-tests
tests: unit-tests runsc-tests syscall-tests
.PHONY: tests
integration-tests: ## Run all standard integration tests.