Added capability to change results output depending on whether
DEBUG_MODE is turned on
This commit is contained in:
parent
9228e4bdb3
commit
2f41316c59
4 changed files with 2954 additions and 2549 deletions
|
|
@ -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
2934
test_problems/VCSnonideal/NaCl_equil/good_dout_dm.txt
Normal file
2934
test_problems/VCSnonideal/NaCl_equil/good_dout_dm.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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=$?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue