[cantera]: adding surfkin test
This commit is contained in:
parent
2f197f0dc0
commit
da16edb98b
4 changed files with 28 additions and 3 deletions
|
|
@ -107,6 +107,7 @@ AC_OUTPUT(Makefile \
|
|||
test_problems/pureFluidTest/Makefile \
|
||||
test_problems/silane_equil/Makefile \
|
||||
test_problems/spectroscopy/Makefile \
|
||||
test_problems/surfkin/Makefile \
|
||||
test_problems/cathermo/Makefile \
|
||||
test_problems/cathermo/DH_graph_1/Makefile \
|
||||
test_problems/cathermo/DH_graph_acommon/Makefile \
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
|
||||
#SUBDIRS = surfkin VPsilance_test \
|
||||
#SUBDIRS = VPsilance_test \
|
||||
diamondSurf_dupl surfSolverTest
|
||||
|
||||
SUBDIRS = cathermo mixGasTransport ChemEquil_gri_matrix ChemEquil_gri_pairs
|
||||
SUBDIRS += ChemEquil_ionizedGas ChemEquil_red1 CpJump cxx_ex diamondSurf
|
||||
SUBDIRS += diamondSurf_dupl fracCoeff multiGasTransport NASA9poly_test
|
||||
SUBDIRS += negATest printUtilUnitTest pureFluidTest silane_equil
|
||||
SUBDIRS += spectroscopy
|
||||
SUBDIRS += spectroscopy surfkin
|
||||
|
||||
|
||||
# skipped:
|
||||
|
|
|
|||
23
test_problems/surfkin/Makefile.am
Normal file
23
test_problems/surfkin/Makefile.am
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
cc_sources = surfdemo.cpp
|
||||
|
||||
INC = -I. -I$(top_builddir)/build/include/
|
||||
AM_CPPFLAGS = $(INC)
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
LINK = -luser -loneD -lzeroD -lequil -lkinetics -ltransport -lthermo
|
||||
LINK += -lctnumerics -lctmath -ltpx -lctspectra -lconverters -lctbase -lcvode
|
||||
LINK += -lctlapack -lctblas -lctf2c -lctcxx -lm -lctf2c -lstdc++
|
||||
AM_LDFLAGS = -L$(top_builddir)/build/lib/
|
||||
LIBS = $(LINK)
|
||||
|
||||
bin_PROGRAMS = surfdemo
|
||||
library_includedir = $(INC)
|
||||
|
||||
#-----------------------
|
||||
# Cantera DH graph test
|
||||
#-----------------------
|
||||
|
||||
surfdemo_SOURCES = $(cc_sources)
|
||||
|
||||
TESTS_ENVIRONMENT =
|
||||
TESTS = runtest
|
||||
|
|
@ -19,15 +19,16 @@ then
|
|||
echo "surfdemo returned with bad status, $retnStat, check output"
|
||||
fi
|
||||
|
||||
|
||||
diff -w output.txt output_blessed.txt > diff_test.out
|
||||
retnStat=$?
|
||||
if [ $retnStat = "0" ]
|
||||
then
|
||||
echo "successful diff comparison on surfkin test"
|
||||
return 0
|
||||
else
|
||||
echo "unsuccessful diff comparison on surfkin test"
|
||||
echo "FAILED" > csvCode.txt
|
||||
temp_success="0"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue