TUT: test mode not respected (closes #710)

- now replaced 'if ! isTest' with 'if notTest' for most cases.
This commit is contained in:
Mark Olesen
2018-02-20 12:54:44 +01:00
parent 63edb6024b
commit fe140cd6c5
24 changed files with 36 additions and 27 deletions

View File

@ -20,7 +20,7 @@ setCombustionProperties()
# Do moriyoshiHomogeneous
( cd moriyoshiHomogeneous && foamRunTutorials )
if ! isTest $@
if notTest $@
then
# Clone case for second phase
cloneCase moriyoshiHomogeneous moriyoshiHomogeneousPart2

View File

@ -9,7 +9,7 @@ runApplication chemkinToFoam \
runApplication $(getApplication)
if ! isTest $@
if notTest $@
then
(cd validation && ./Allrun $*)
fi

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
runApplication $(getApplication)
if ! isTest $@
if notTest $@
then
(cd validation && ./Allrun $*)
fi

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
runApplication $(getApplication)
if ! isTest $@
if notTest $@
then
(cd validation && ./Allrun $*)
fi

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
runApplication $(getApplication)
if ! isTest $@
if notTest $@
then
(cd validation && ./Allrun $*)
fi

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
runApplication $(getApplication)
if ! isTest $@
if notTest $@
then
(cd validation && ./Allrun $*)
fi

View File

@ -21,7 +21,7 @@ runParallel $(getApplication)
paraFoam -touch
paraFoam -touch -region panelRegion
if ! isTest $@
if notTest $@
then
(cd validation && ./createGraphs)
fi

View File

@ -8,8 +8,8 @@ application=$(getApplication)
restore0Dir
runApplication chemkinToFoam \
chemkin/grimech30.dat chemkin/thermo30.dat chemkin/transportProperties \
constant/reactionsGRI constant/thermo.compressibleGasGRI
chemkin/grimech30.dat chemkin/thermo30.dat chemkin/transportProperties \
constant/reactionsGRI constant/thermo.compressibleGasGRI
runApplication blockMesh
runApplication setFields