diff --git a/configure.ac b/configure.ac index eef8cc8ac..eafa164bd 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,7 @@ AC_OUTPUT(Makefile \ test_problems/diamondSurf_dupl/Makefile \ test_problems/fracCoeff/Makefile \ test_problems/multiGasTransport/Makefile \ + test_problems/NASA9poly_test/Makefile \ test_problems/cathermo/Makefile \ test_problems/cathermo/DH_graph_1/Makefile \ test_problems/cathermo/DH_graph_acommon/Makefile \ diff --git a/test_problems/Makefile.am b/test_problems/Makefile.am index 43b2852f5..12438679c 100644 --- a/test_problems/Makefile.am +++ b/test_problems/Makefile.am @@ -6,7 +6,7 @@ SUBDIRS = cathermo mixGasTransport ChemEquil_gri_matrix ChemEquil_gri_pairs SUBDIRS += ChemEquil_ionizedGas ChemEquil_red1 CpJump cxx_ex diamondSurf -SUBDIRS += diamondSurf_dupl fracCoeff multiGasTransport +SUBDIRS += diamondSurf_dupl fracCoeff multiGasTransport NASA9poly_test # # would be good to add: diff --git a/test_problems/NASA9poly_test/Makefile.am b/test_problems/NASA9poly_test/Makefile.am new file mode 100644 index 000000000..2861aa81d --- /dev/null +++ b/test_problems/NASA9poly_test/Makefile.am @@ -0,0 +1,23 @@ +cc_sources = NASA9poly_test.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 = NASA9poly_test +library_includedir = $(INC) + +#----------------------- +# Cantera DH graph test +#----------------------- + +NASA9poly_test_SOURCES = $(cc_sources) + +TESTS_ENVIRONMENT = +TESTS = runtest diff --git a/test_problems/NASA9poly_test/NASA9poly_test.cpp b/test_problems/NASA9poly_test/NASA9poly_test.cpp index 55a2acdcd..5d8937e97 100644 --- a/test_problems/NASA9poly_test/NASA9poly_test.cpp +++ b/test_problems/NASA9poly_test/NASA9poly_test.cpp @@ -24,7 +24,7 @@ using namespace std; #include "transport.h" #include "IdealGasMix.h" -#include "kernel/TransportFactory.h" +#include "TransportFactory.h" using namespace Cantera; using namespace Cantera_CXX;