Updated these tests to use new names of the DEFINES

This commit is contained in:
Harry Moffat 2007-10-11 16:01:06 +00:00
parent 6c051e7acc
commit 04372ff71c
4 changed files with 12 additions and 4 deletions

View file

@ -40,11 +40,14 @@ extension2 = @EXEEXT@
# the C++ compiler
CXX = @CXX@
#
# LOCAL_DEFS=-DDEBUG_CHEMEQUIL
#
# C++ compile flags
ifeq ($(src_dir_tree), 1)
CXX_FLAGS = -DSRCDIRTREE @CXXFLAGS@
CXX_FLAGS = -DSRCDIRTREE @CXXFLAGS@ $(LOCAL_DEFS)
else
CXX_FLAGS = @CXXFLAGS@
CXX_FLAGS = @CXXFLAGS@ $(LOCAL_DEFS)
endif
# Ending C++ linking libraries

View file

@ -21,7 +21,7 @@
using namespace std;
using namespace Cantera;
int main(int argc, char **argv) {
#ifdef DEBUG_HKM
#ifdef DEBUG_CHEMEQUIL
ChemEquil_print_lvl = 0;
#endif
try {

View file

@ -36,6 +36,9 @@ FORT_LIBS = @FLIBS@
# the C++ compiler
CXX = @CXX@
# LOCAL_DEFS = -DDEBUG_CHEMEQUIL
# LOCAL_DEFS = -DEBUG_BASISOPTIMIZE
#
# C++ compile flags
ifeq ($(src_dir_tree), 1)
CXX_FLAGS = -DSRCDIRTREE @CXXFLAGS@

View file

@ -23,8 +23,10 @@ int main(int argc, char **argv) {
try {
IdealGasMix g("red1.xml", "gri30_mix");
#ifdef DEBUG_HKM
#ifdef DEBUG_BASISOPTIMIZE
Cantera::BasisOptimize_print_lvl = 0;
#endif
#ifdef DEBUG_CHEMEQUIL
Cantera::ChemEquil_print_lvl = 0;
#endif