Handle allocation failures when instantiating documents

This commit is contained in:
Max Brunsfeld 2016-01-18 10:44:49 -08:00
parent 9d0835edbf
commit 1543a6c7b0
12 changed files with 255 additions and 31 deletions

View file

@ -27,7 +27,8 @@ profile=
mode=normal
args=()
target=tests
cmd="out/Debug/${target}"
export BUILDTYPE=Test
cmd="out/${BUILDTYPE}/${target}"
while getopts "df:s:ghpv" option; do
case ${option} in
@ -56,7 +57,7 @@ while getopts "df:s:ghpv" option; do
esac
done
BUILDTYPE=Debug make $target
make $target
args=${args:-""}
if [[ -n $profile ]]; then