Only do a "make check" if the build is optimized.

This commit is contained in:
John Wiegley 2007-05-11 09:12:19 +00:00
parent 643f666468
commit efc0dd9c2b

View file

@ -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