commit - c498e6d82b643effe611454e1018521173725ca9
commit + bfeaf20697447c069684b6367fa5eb5e7920ce5b
blob - 40a3eba474b4a8fe35b9669596fb6994cc3739ae
blob + e28ef4b462c922a18dc79fbf51e8e0ee0c2dded3
--- util/got-build-regress.sh
+++ util/got-build-regress.sh
exit 0
fi
+printf "\n\n\tRunning tests with pack files using ref-delta\n\n" >> build.log
+log_cmd regress.log env PATH=$HOME/bin:$PATH make regress GOT_TEST_ROOT="$testroot" GOT_TEST_PACK=ref-delta
+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
+
printf "\n\n\tTesting a release build\n\n" >> build.log
log_cmd build.log make clean
log_cmd build.log make obj