commit 29c7fcc49ae1b5ddcdfad436b7a1689b22c40cd2 from: Omar Polo date: Tue Aug 06 19:51:27 2024 UTC got-build-regress: run sha256 with GOT_TEST_PACK too prodded by stsp commit - 10d386912767351fcac31cf1c3575a80e9cc99b5 commit + 29c7fcc49ae1b5ddcdfad436b7a1689b22c40cd2 blob - 33ccedd4fe91befc948192f1b866bdf3bc8bfc1d blob + 56a7ec4735fe0c61640ad50561f09796abd92eb5 --- util/got-build-regress.sh +++ util/got-build-regress.sh @@ -166,6 +166,19 @@ if [ "$regress_status" -ne 0 -o "$regress_failure_grep exit 0 fi +printf "\n\n\tRunning tests with sha256 and pack files\n\n" >> build.log +log_cmd regress.log env PATH=$HOME/bin:$PATH make regress GOT_TEST_ROOT="$testroot" GOT_TEST_ALGO=sha256 GOT_TEST_PACK=1 +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