Adding test harness for windows.

This commit is contained in:
Harry Moffat 2009-07-21 16:56:46 +00:00
parent a88ece98fe
commit 8248c4bda0
6 changed files with 137 additions and 0 deletions

View file

@ -0,0 +1,22 @@
############################################################################
#
# Makefile to run vc++ test programs under cygwin
# on the pc
#
#############################################################################
all:
test:
cd combustor; make -s test
cd kinetics1; make -s test
cd flamespeed; make -s test
cd NASA_coeffs; make -s test
clean:
cd combustor; make clean
cd kinetics1; make clean
cd flamespeed; make clean
cd NASA_coeffs; make clean

View file

@ -0,0 +1,23 @@
#!/bin/sh
############################################################################
#
# Makefile to compile and link a C++ application to
# Cantera.
#
PROG_NAME=NASA_coeffs
EXE_EXT=.exe
# Program Name
PROGRAM = $(PROG_NAME)$(EXE_EXT)
# Do the test -> For the windows vc++ environment, we have to skip checking on
# whether the program is uptodate, because we don't utilize make
# in that environment to build programs.
test:
./runtest
clean:
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends

View file

@ -0,0 +1,23 @@
#!/bin/sh
############################################################################
#
# Makefile to compile and link a C++ application to
# Cantera.
#
PROG_NAME=combustor
EXE_EXT=.exe
# Program Name
PROGRAM = $(PROG_NAME)$(EXE_EXT)
# Do the test -> For the windows vc++ environment, we have to skip checking on
# whether the program is uptodate, because we don't utilize make
# in that environment to build programs.
test:
./runtest
clean:
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends

View file

@ -0,0 +1,23 @@
#!/bin/sh
############################################################################
#
# Makefile to compile and link a C++ application to
# Cantera.
#
PROG_NAME=flamespeed
EXE_EXT=.exe
# Program Name
PROGRAM = $(PROG_NAME)$(EXE_EXT)
# Do the test -> For the windows vc++ environment, we have to skip checking on
# whether the program is uptodate, because we don't utilize make
# in that environment to build programs.
test:
./runtest
clean:
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends

View file

@ -0,0 +1,23 @@
#!/bin/sh
############################################################################
#
# Makefile to compile and link a C++ application to
# Cantera.
#
PROG_NAME=kinetics1
EXE_EXT=.exe
# Program Name
PROGRAM = $(PROG_NAME)$(EXE_EXT)
# Do the test -> For the windows vc++ environment, we have to skip checking on
# whether the program is uptodate, because we don't utilize make
# in that environment to build programs.
test:
./runtest
clean:
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends

View file

@ -0,0 +1,23 @@
#!/bin/sh
############################################################################
#
# Makefile to compile and link a C++ application to
# Cantera.
#
PROG_NAME=rankine
EXE_EXT=.exe
# Program Name
PROGRAM = $(PROG_NAME)$(EXE_EXT)
# Do the test -> For the windows vc++ environment, we have to skip checking on
# whether the program is uptodate, because we don't utilize make
# in that environment to build programs.
test:
./runtest
clean:
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends