summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-11 09:12:19 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:48 -0400
commitefc0dd9c2bcd6eb628727f8d9457ce689432326c (patch)
tree1a9e604fb806a05fc6f8721b1057b2d30f4d9cc9
parent643f666468d3e378cc0b39e501c253e33c267f0f (diff)
downloadfork-ledger-efc0dd9c2bcd6eb628727f8d9457ce689432326c.tar.gz
fork-ledger-efc0dd9c2bcd6eb628727f8d9457ce689432326c.tar.bz2
fork-ledger-efc0dd9c2bcd6eb628727f8d9457ce689432326c.zip
Only do a "make check" if the build is optimized.
-rwxr-xr-xverify.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/verify.sh b/verify.sh
index d2c2af40..8a1ba3ad 100755
--- a/verify.sh
+++ b/verify.sh
@@ -94,7 +94,12 @@ function build_ledger() {
(cd gdtoa && make) || exit 1
make || exit 1
- make fullcheck || exit 1
+
+ if [ "$1" = "--opt" ]; then
+ make check || exit 1
+ else
+ make fullcheck || exit 1
+ fi
}
# With all of that defined, now build ledger in all its various