Added capability to change results output depending on whether

DEBUG_MODE is turned on
This commit is contained in:
Harry Moffat 2008-01-14 22:19:09 +00:00
parent 9228e4bdb3
commit 2f41316c59
4 changed files with 2954 additions and 2549 deletions

View file

@ -27,6 +27,8 @@ LINK_OPTIONS =
#############################################################################
on_DEBUG_MODE=@CANTERA_DEBUG_MODE@
# Check to see whether we are in the msvc++ environment
os_is_win = @OS_IS_WIN@

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -14,6 +14,17 @@ testName=nacl_equil
BINDIR=../../../bin
#
# There are different answers depending on whether DEBUG_MODE was
# turned on in the compile
goodFile=good_dout.txt
if test $# -gt 0
then
if test $1 = "DEBUG_MODE"
then
goodFile=good_dout_dm.txt
fi
fi
#################################################################
#
#################################################################
@ -26,7 +37,7 @@ then
echo "mpequil returned with bad status, $retnStat, check output"
fi
diff -w good_dout.txt dout.txt > diff_dout.txt
diff -w $goodFile dout.txt > diff_dout.txt
retnStat_txt=$?
$BINDIR/csvdiff -a 1.0E-50 vcs_equilibrate_blessed.csv vcs_equilibrate_res.csv > diff_csv.txt
retnStat_csv=$?