Skip to contentSkip to conversation

tests: list crypto algorithm tests skipped

PATCH New Mimi Zohar 1 participant 1 message Jul 15, 2021 Keys-trusted

lore
Share & tools
lore

Mimi Zohar

author maintainer
#0 lore raw

PATCH 1/1 tests: list crypto algorithm tests skipped

Include the list and number of crypto tests skipped in the output.

---
 build.sh | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
build.sh +10 -2
index b922fa69ef04..c4d28f1302c6 100755
@@ -79,8 +79,16 @@ VERBOSE=1 make check || ret=$?
 
 title "logs"
 if [ $ret -eq 0 ]; then
-	tail -3 tests/ima_hash.log
-	tail -3 tests/sign_verify.log
+	if [ -f tests/ima_hash.log ]; then
+		tail -3 tests/ima_hash.log
+		grep "skipped" tests/ima_hash.log  && \
+		   grep "skipped" tests/ima_hash.log | wc -l
+	fi
+	if [ -f tests/sign_verify.log ]; then
+		tail -3 tests/sign_verify.log
+		grep "skipped" tests/sign_verify.log  && \
+		   grep "skipped" tests/sign_verify.log | wc -l
+	fi
 	tail -20 tests/boot_aggregate.log
 	exit 0
 fi
Signature · 1 line
2.27.0