Split container tests from unit tests.
PiperOrigin-RevId: 351632484
This commit is contained in:
parent
0f25aa24f9
commit
a684bfb6c0
|
@ -49,6 +49,9 @@ steps:
|
||||||
- <<: *common
|
- <<: *common
|
||||||
label: ":test_tube: Unit tests"
|
label: ":test_tube: Unit tests"
|
||||||
command: make unit-tests
|
command: make unit-tests
|
||||||
|
- <<: *common
|
||||||
|
label: ":test_tube: runsc tests"
|
||||||
|
command: make runsc-tests
|
||||||
|
|
||||||
# All system call tests.
|
# All system call tests.
|
||||||
- <<: *common
|
- <<: *common
|
||||||
|
|
10
Makefile
10
Makefile
|
@ -186,12 +186,16 @@ fuse-tests:
|
||||||
@$(call test,--test_tag_filters=fuse $(PARTITIONS) test/fuse/...)
|
@$(call test,--test_tag_filters=fuse $(PARTITIONS) test/fuse/...)
|
||||||
.PHONY: fuse-tests
|
.PHONY: fuse-tests
|
||||||
|
|
||||||
unit-tests: ## Local package unit tests in pkg/..., runsc/, tools/.., etc.
|
unit-tests: ## Local package unit tests in pkg/..., tools/.., etc.
|
||||||
@$(call test,//:all pkg/... runsc/... tools/...)
|
@$(call test,//:all pkg/... tools/...)
|
||||||
.PHONY: unit-tests
|
.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: ## Runs all unit tests and syscall tests.
|
||||||
tests: unit-tests syscall-tests
|
tests: unit-tests runsc-tests syscall-tests
|
||||||
.PHONY: tests
|
.PHONY: tests
|
||||||
|
|
||||||
integration-tests: ## Run all standard integration tests.
|
integration-tests: ## Run all standard integration tests.
|
||||||
|
|
Loading…
Reference in New Issue