Skip to content

Commit 27e1420

Browse files
committed
ci: run doctests on kernel crate
1 parent 926d47b commit 27e1420

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,16 @@ ci-travis:
4646
@printf "$$(tput bold)*****************$$(tput sgr0)\n"
4747
@printf "$$(tput bold)* CI: Libraries *$$(tput sgr0)\n"
4848
@printf "$$(tput bold)*****************$$(tput sgr0)\n"
49-
@CI=true cd libraries/tock-cells && cargo test
50-
@CI=true cd libraries/tock-register-interface && cargo test
49+
@cd libraries/tock-cells && CI=true cargo test
50+
@cd libraries/tock-register-interface && CI=true cargo test
5151
@printf "$$(tput bold)**************$$(tput sgr0)\n"
5252
@printf "$$(tput bold)* CI: Syntax *$$(tput sgr0)\n"
5353
@printf "$$(tput bold)**************$$(tput sgr0)\n"
5454
@CI=true $(MAKE) allcheck
55+
@printf "$$(tput bold)****************$$(tput sgr0)\n"
56+
@printf "$$(tput bold)* CI: DocTests *$$(tput sgr0)\n"
57+
@printf "$$(tput bold)****************$$(tput sgr0)\n"
58+
@cd kernel && CI=true TOCK_KERNEL_VERSION=ci_test cargo test
5559
@printf "$$(tput bold)*******************$$(tput sgr0)\n"
5660
@printf "$$(tput bold)* CI: Compilation *$$(tput sgr0)\n"
5761
@printf "$$(tput bold)*******************$$(tput sgr0)\n"

0 commit comments

Comments
 (0)