commit - 98350b2093e571c5d8143e22d85c1f515a6c85f4
commit + d35c69f0312bf3a3e11a2668c942bacdded34b4d
blob - e28ef4b462c922a18dc79fbf51e8e0ee0c2dded3
blob + 7edb5fbb0f79762a8be9b626fcc9eb2c407c4c7a
--- util/got-build-regress.sh
+++ util/got-build-regress.sh
mail $fromaddr_arg -s "$prog build failure" $recipients < build.log
exit 0
fi
+log_cmd build.log make -j $ncpu server
+build_status="$?"
+if [ "$build_status" -ne 0 ]; then
+ mail $fromaddr_arg -s "$prog build failure" $recipients < build.log
+ exit 0
+fi
printf "\n\n\tRunning tests\n\n" >> build.log
log_cmd regress.log env PATH=$HOME/bin:$PATH make regress GOT_TEST_ROOT="$testroot"
log_cmd build.log make obj
log_cmd build.log make -j $ncpu GOT_RELEASE=Yes
log_cmd build.log make -j $ncpu GOT_RELEASE=Yes webd
+log_cmd build.log make -j $ncpu GOT_RELEASE=Yes server
build_status="$?"
if [ "$build_status" -ne 0 ]; then
mail $fromaddr_arg -s "$prog release mode build failure" $recipients < build.log