Adding windows specific makefiles for python demo test suite

This commit is contained in:
Harry Moffat 2009-07-15 21:33:56 +00:00
parent 561f91c500
commit 69ec1d7054
8 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1,34 @@
#!/bin/sh
PY_DEMOS = flame1 flame2 stflame1 npflame1 free_h2_air \
adiabatic_flame flame_fixed_T
all:
@(for py in $(PY_DEMOS) ; do \
echo "running $${py}..."; \
(cd $${py} ; make) \
done)
run:
@(for py in $(PY_DEMOS) ; do \
echo "running $${py}..."; \
(cd $${py} ; make run ) \
done)
test:
@(for py in $(PY_DEMOS) ; do \
echo "running $${py}..."; \
(cd $${py} ; make test ) \
done)
clean:
@(for py in $(PY_DEMOS) ; do \
echo "running $${py}..."; \
(cd $${py} ; make clean ) \
done)
# end of file

View file

@ -0,0 +1,15 @@
#!/bin/sh
run:
$(PYTHON_CMD) adiabatic_flame.py
test:
./runtest
clean:
rm -f *.log *.csv *.xml
./cleanup
# end of file

View file

@ -0,0 +1,14 @@
#!/bin/sh
run:
$(PYTHON_CMD) catcomb.py
test:
./runtest
clean:
rm -f *.log *.csv *.xml
./cleanup
# end of file

View file

@ -0,0 +1,15 @@
#!/bin/sh
run:
$(PYTHON_CMD) flame2.py
test:
./runtest
clean:
rm -f *.log *.csv *.xml
./cleanup
# end of file

View file

@ -0,0 +1,15 @@
#!/bin/sh
run:
$(PYTHON_CMD) flame_fixed_T.py
test:
./runtest
clean:
rm -f *.log *.csv *.xml
./cleanup
# end of file

View file

@ -0,0 +1,16 @@
#!/bin/sh
run:
$(PYTHON_CMD) free_h2_air.py
test:
./runtest
clean:
rm -f *.log output_0.txt freeflame1.csv freeflame1.xml
./cleanup
# end of file

View file

@ -0,0 +1,13 @@
#!/bin/sh
run:
$(PYTHON_CMD) npflame1.py
test:
./runtest
clean:
./cleanup
# end of file

View file

@ -0,0 +1,14 @@
#!/bin/sh
run:
$(PYTHON_CMD) stflame1.py
test:
./runtest
clean:
./cleanup
# end of file