updating script to be based off only success and failure count
This commit is contained in:
parent
4757cf6b69
commit
11128fadbd
1 changed files with 35 additions and 0 deletions
35
test_problems/ChemEquil_gri_matrix/runtest
Executable file
35
test_problems/ChemEquil_gri_matrix/runtest
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
#
|
||||
temp_success="1"
|
||||
/bin/rm -f output.txt outputa.txt
|
||||
|
||||
#################################################################
|
||||
#
|
||||
#################################################################
|
||||
CANTERA_DATA=${CANTERA_DATA:=../../data/inputs}; export CANTERA_DATA
|
||||
|
||||
CANTERA_BIN=${CANTERA_BIN:=../../bin}
|
||||
./gri_matrix > output.txt
|
||||
retnStat=$?
|
||||
if [ $retnStat != "0" ]
|
||||
then
|
||||
temp_success="0"
|
||||
echo "silane_equil returned with bad status, $retnStat, check output"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ../../bin/exp3to2.sh output.txt > outputa.txt
|
||||
# diff -w outputa.txt output_blessed.txt > diff_test.out
|
||||
# retnStat=$?
|
||||
# if [ $retnStat = "0" ]
|
||||
# then
|
||||
# echo "successful diff comparison on ChemEquil_gri_matrix test"
|
||||
# exit 0
|
||||
# else
|
||||
# echo "unsuccessful diff comparison on ChemEquil_gri_matrix test"
|
||||
# echo "FAILED" > csvCode.txt
|
||||
# temp_success="0"
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
Loading…
Add table
Reference in a new issue