Almost finished with test structure for python demos

This commit is contained in:
Harry Moffat 2009-03-24 20:40:10 +00:00
parent 317494be0e
commit 1ae7e1a7aa
3 changed files with 47 additions and 4 deletions

View file

@ -2,14 +2,25 @@
PY_DEMO_DIRS = equilibrium flames gasdynamics kinetics liquid_vapor \
misc reactors surface_chemistry transport fuel_cells
all:
@(for d in $(PY_DEMO_DIRS) ; do \
echo "entering directory $${d}..."; \
(cd $${d}; make run) ; \
done)
run-all:
run:
@(for d in $(PY_DEMO_DIRS) ; do \
echo "entering directory $${d}..."; \
(cd $${d}; make run) ; \
done)
cleanup:
test:
@(for d in $(PY_DEMO_DIRS) ; do \
echo "entering directory $${d}..."; \
(cd $${d}; make test) ; \
done)
clean:
@(for dd in $(PY_DEMO_DIRS) ; do \
echo "entering directory $${dd}..."; \
(cd $${dd}; make -i clean; cd ..) ; \
@ -17,4 +28,4 @@ cleanup:
# end of file
#

View file

@ -0,0 +1,32 @@
#!/bin/sh
PY_DEMO_DIRS = equilibrium flames gasdynamics kinetics liquid_vapor \
misc reactors surface_chemistry transport fuel_cells
MAKE = @MAKE@
all:
@(for d in $(PY_DEMO_DIRS) ; do \
echo "entering directory $${d}..."; \
(cd $${d}; $(MAKE)) ; \
done)
run:
@(for d in $(PY_DEMO_DIRS) ; do \
echo "entering directory $${d}..."; \
(cd $${d}; $(MAKE) run) ; \
done)
test:
@(for d in $(PY_DEMO_DIRS) ; do \
echo "entering directory $${d}..."; \
(cd $${d}; $(MAKE) test) ; \
done)
clean:
@(for dd in $(PY_DEMO_DIRS) ; do \
echo "entering directory $${dd}..."; \
(cd $${dd}; $(MAKE) -i clean; cd ..) ; \
done)
# end of file

View file

@ -1,7 +1,7 @@
#!/bin/sh
PY_DEMOS = flame1 flame2 stflame1 npflame1 free_h2_air \
adiabatic_flame fixed_T_flame
adiabatic_flame flame_fixed_T
PYTHON_CMD = @PYTHON_CMD@
all: