@@ -68,27 +68,13 @@ for opt in "${OPTS[@]}"; do
6868 odin build ./try_mbox/ -build-mode:lib -vet -strict-style -o:" ${opt} "
6969 fi
7070
71- echo " test try_mbox/..."
72- if [ " ${opt} " = " none" ]; then
73- odin test ./try_mbox/ -vet -strict-style -disallow-do -o:none -debug
74- else
75- odin test ./try_mbox/ -vet -strict-style -disallow-do -o:" ${opt} "
76- fi
77-
7871 echo " build nbio_mbox lib..."
7972 if [ " ${opt} " = " none" ]; then
8073 odin build ./nbio_mbox/ -build-mode:lib -vet -strict-style -o:none -debug
8174 else
8275 odin build ./nbio_mbox/ -build-mode:lib -vet -strict-style -o:" ${opt} "
8376 fi
8477
85- echo " test nbio_mbox/..."
86- if [ " ${opt} " = " none" ]; then
87- odin test ./nbio_mbox/ -vet -strict-style -disallow-do -o:none -debug
88- else
89- odin test ./nbio_mbox/ -vet -strict-style -disallow-do -o:" ${opt} "
90- fi
91-
9278 echo " build pool lib..."
9379 if [ " ${opt} " = " none" ]; then
9480 odin build ./pool/ -build-mode:lib -vet -strict-style -o:none -debug
@@ -110,18 +96,32 @@ for opt in "${OPTS[@]}"; do
11096 odin test ./tests/ -vet -strict-style -disallow-do -o:" ${opt} "
11197 fi
11298
113- echo " build pool_tests/..."
99+ echo " test tests/mbox/..."
100+ if [ " ${opt} " = " none" ]; then
101+ odin test ./tests/mbox/ -vet -strict-style -disallow-do -o:none -debug
102+ else
103+ odin test ./tests/mbox/ -vet -strict-style -disallow-do -o:" ${opt} "
104+ fi
105+
106+ echo " test tests/try_mbox/..."
107+ if [ " ${opt} " = " none" ]; then
108+ odin test ./tests/try_mbox/ -vet -strict-style -disallow-do -o:none -debug
109+ else
110+ odin test ./tests/try_mbox/ -vet -strict-style -disallow-do -o:" ${opt} "
111+ fi
112+
113+ echo " test tests/nbio_mbox/..."
114114 if [ " ${opt} " = " none" ]; then
115- odin build ./pool_tests/ -build-mode:lib - vet -strict-style -o:none -debug
115+ odin test ./tests/nbio_mbox/ - vet -strict-style -disallow-do -o:none -debug
116116 else
117- odin build ./pool_tests/ -build-mode:lib - vet -strict-style -o:" ${opt} "
117+ odin test ./tests/nbio_mbox/ - vet -strict-style -disallow-do -o:" ${opt} "
118118 fi
119119
120- echo " test pool_tests /..."
120+ echo " test tests/pool /..."
121121 if [ " ${opt} " = " none" ]; then
122- odin test ./pool_tests / -vet -strict-style -disallow-do -o:none -debug
122+ odin test ./tests/pool / -vet -strict-style -disallow-do -o:none -debug
123123 else
124- odin test ./pool_tests / -vet -strict-style -disallow-do -o:" ${opt} "
124+ odin test ./tests/pool / -vet -strict-style -disallow-do -o:" ${opt} "
125125 fi
126126
127127 echo " ${GREEN} pass: ${opt}${NC} "
@@ -136,7 +136,6 @@ odin doc ./wakeup/
136136odin doc ./try_mbox/
137137odin doc ./nbio_mbox/
138138odin doc ./pool/
139- odin doc ./pool_tests/
140139odin doc ./examples/
141140odin doc ./tests/
142141echo " ${GREEN} docs OK${NC} "
0 commit comments