summaryrefslogtreecommitdiff
path: root/tools/proof
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-25 20:31:42 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-25 20:31:42 -0400
commit7d0491c5feed3ee87bff98a99b543baa383ecfdb (patch)
tree9e4834a5867ebdd3ba316b9e9af3040849424993 /tools/proof
parent9db6e8cdbeaa3826f77d552499d60f7c5dacc3e9 (diff)
downloadfork-ledger-7d0491c5feed3ee87bff98a99b543baa383ecfdb.tar.gz
fork-ledger-7d0491c5feed3ee87bff98a99b543baa383ecfdb.tar.bz2
fork-ledger-7d0491c5feed3ee87bff98a99b543baa383ecfdb.zip
Fixes to tools/proof
Diffstat (limited to 'tools/proof')
-rwxr-xr-xtools/proof56
1 files changed, 52 insertions, 4 deletions
diff --git a/tools/proof b/tools/proof
index 583d0a51..b16cdf52 100755
--- a/tools/proof
+++ b/tools/proof
@@ -2,8 +2,56 @@
set -e
-tools/prepall
-tools/buildall clean check
+echo %%% Configuring --opt %%%
+if ! tools/myacprep --opt; then
+ echo %%% FAILED to configure --opt %%%
+ exit 1
+fi
-cd ~/Products/ledger
-make fullcheck release-distcheck
+echo %%% Building --opt %%%
+if ! (cd ~/Products/ledger-opt && make clean fullcheck); then
+ echo %%% FAILED to build --opt %%%
+ exit 1
+fi
+
+echo %%% Configuring --gprof %%%
+if ! tools/myacprep --gprof; then
+ echo %%% FAILED to configure --gprof %%%
+ exit 1
+fi
+
+echo %%% Building --gprof %%%
+if ! (cd ~/Products/ledger-gprof && make clean fullcheck); then
+ echo %%% FAILED to build --gprof %%%
+ exit 1
+fi
+
+echo %%% Configuring --gcov %%%
+if ! tools/myacprep --gcov; then
+ echo %%% FAILED to configure --gcov %%%
+ exit 1
+fi
+
+echo %%% Building --gcov %%%
+if ! (cd ~/Products/ledger-gcov && make clean fullcheck); then
+ echo %%% FAILED to build --gcov %%%
+ exit 1
+fi
+
+echo %%% Configuring std %%%
+if ! tools/myacprep; then
+ echo %%% FAILED to configure std %%%
+ exit 1
+fi
+
+echo %%% Building std %%%
+if ! (cd ~/Products/ledger-opt && make clean fullcheck); then
+ echo %%% FAILED to build std %%%
+ exit 1
+fi
+
+echo %%% Building release-distcheck %%%
+if ! (cd ~/Products/ledger-opt && make release-distcheck); then
+ echo %%% FAILED to build release-distcheck %%%
+ exit 1
+fi