Adding test harness for windows.
This commit is contained in:
parent
a88ece98fe
commit
8248c4bda0
6 changed files with 137 additions and 0 deletions
22
Cantera/cxx/demos/Makefile.win
Normal file
22
Cantera/cxx/demos/Makefile.win
Normal 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
|
||||
|
||||
|
||||
23
Cantera/cxx/demos/NASA_coeffs/Makefile.win
Normal file
23
Cantera/cxx/demos/NASA_coeffs/Makefile.win
Normal 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
|
||||
|
||||
23
Cantera/cxx/demos/combustor/Makefile.win
Normal file
23
Cantera/cxx/demos/combustor/Makefile.win
Normal 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
|
||||
|
||||
23
Cantera/cxx/demos/flamespeed/Makefile.win
Normal file
23
Cantera/cxx/demos/flamespeed/Makefile.win
Normal 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
|
||||
|
||||
23
Cantera/cxx/demos/kinetics1/Makefile.win
Normal file
23
Cantera/cxx/demos/kinetics1/Makefile.win
Normal 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
|
||||
|
||||
23
Cantera/cxx/demos/rankine/Makefile.win
Normal file
23
Cantera/cxx/demos/rankine/Makefile.win
Normal 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
|
||||
|
||||
Loading…
Add table
Reference in a new issue