summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2021-01-13 11:46:25 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-13 11:48:50 -0800
commita684bfb6c035ac6f283649b007176f8bac713acd (patch)
tree5357da749de5b6e7d64dc1dff1bc1e17bc1f0a51
parent0f25aa24f9f0502bfb1fbead37bbbc2a012dfd64 (diff)
Split container tests from unit tests.
PiperOrigin-RevId: 351632484
-rw-r--r--.buildkite/pipeline.yaml3
-rw-r--r--Makefile10
2 files changed, 10 insertions, 3 deletions
diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml
index 93e4195d6..cddf5504b 100644
--- a/.buildkite/pipeline.yaml
+++ b/.buildkite/pipeline.yaml
@@ -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
diff --git a/Makefile b/Makefile
index f38560dc4..284491c4f 100644
--- a/Makefile
+++ b/Makefile
@@ -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.