Skip to content

Commit 21afe92

Browse files
mdryaanurunc-bot[bot]
authored andcommitted
chore(test): add unikernels package to unit test target
PR: #674 Signed-off-by: Md Raiyan <alikhurshid842001@gmail.com> Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk> Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
1 parent 7c6dfcf commit 21afe92

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ test: unittest e2etest
233233

234234
## unittest Run all unit tests
235235
.PHONY: unittest
236-
unittest: test_unikontainers test_metrics test_network test_hypervisors
236+
unittest: test_unikontainers test_metrics test_network test_hypervisors test_unikernels
237237

238238
## e2etest Run all end-to-end tests
239239
.PHONY: e2etest
@@ -263,6 +263,12 @@ test_hypervisors:
263263
@GOFLAGS=$(TEST_FLAGS) $(GO) test $(TEST_OPTS) ./pkg/unikontainers/hypervisors -v
264264
@echo " "
265265

266+
## test_unikernels Run unit tests for unikernels package
267+
test_unikernels:
268+
@echo "Unit testing in unikernels"
269+
@GOFLAGS=$(TEST_FLAGS) $(GO) test $(TEST_OPTS) ./pkg/unikontainers/unikernels -v
270+
@echo " "
271+
266272
## test_nerdctl Run all end-to-end tests with nerdctl
267273
.PHONY: test_nerdctl
268274
test_nerdctl:

0 commit comments

Comments
 (0)