commit - 3ca3c94dcc29e97f0271125b7ae5f9dc3afaac2d
commit + abf56c366ee316cca91e43e758a3a5fd5e1668cb
blob - 18b329e07759c0334289c970a59481db7e56cc08
blob + a5005ad659010203a4298da2234c9e75f1cc7197
--- util/got-build-regress.sh
+++ util/got-build-regress.sh
exit 0
fi
+printf "\n\n\tRunning tests with pack files\n\n" >> build.log
+log_cmd regress.log env PATH=$HOME/bin:$PATH make regress GOT_TEST_ROOT="$testroot" GOT_TEST_PACK=1
+regress_status="$?"
+cat regress.log >> build.log
+egrep "test.*failed" regress.log > failures.log
+regress_failure_grep="$?"
+if [ "$regress_status" != "0" -o "$regress_failure_grep" == "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
+ rm -rf "$lockfile"
+ exit 0
+fi
+
printf "\n\n\tTesting a release build\n\n" >> build.log
log_cmd build.log make clean
log_cmd build.log make obj