commit - 896062213d8e7684fe9c05f5994a5606d38b0b09
commit + ef1d10ee0f0e4d0a26408b6d540d501337368086
blob - 7f2322f6a93bdd96bebc967378e8200be283811b
blob + 33ccedd4fe91befc948192f1b866bdf3bc8bfc1d
--- util/got-build-regress.sh
+++ util/got-build-regress.sh
exit 0
fi
+printf "\n\n\tRunning tests with sha256\n\n" >> build.log
+log_cmd regress.log env PATH=$HOME/bin:$PATH make regress GOT_TEST_ROOT="$testroot" GOT_TEST_ALGO=sha256
+regress_status="$?"
+cat regress.log >> build.log
+egrep "test.*failed" regress.log > failures.log
+regress_failure_grep="$?"
+if [ "$regress_status" -ne 0 -o "$regress_failure_grep" -eq 0 ]; then
+ printf "\n\n\t Test failures:\n\n" >> build.log
+ cat failures.log >> build.log
+ mail $fromaddr_arg -s "$prog regress failure" $recipients < build.log
+ exit 0
+fi
+
if [ $gotd -ne 0 ]; then
printf "\n\n\tRunning gotd tests\n\n" >> build.log
log_cmd regress.log doas env PATH=$HOME/bin:$PATH make server-regress