ENH: replace tutorials/AutoTest with bin/foamTestTutorial

- additional -serial/-parallel option:
  prefer Allrun-serial or Allrun-parallel if available

- optional -output=DIR to preserve output

ENH: report missing tutorials/ directory in RunFunctions
This commit is contained in:
Mark Olesen
2021-06-08 20:34:02 +02:00
parent c7bde70ecb
commit 853010309d
5 changed files with 114 additions and 58 deletions

View File

@ -20,7 +20,10 @@
#------------------------------------------------------------------------------
# The normal locations
[ -n "$FOAM_TUTORIALS" ] || export FOAM_TUTORIALS=$WM_PROJECT_DIR/tutorials
[ -n "$FOAM_TUTORIALS" ] || export FOAM_TUTORIALS="$WM_PROJECT_DIR"/tutorials
# Basic sanity checks
[ -d "$FOAM_TUTORIALS" ] || echo "No OpenFOAM tutorials? : $FOAM_TUTORIALS" 1>&2
#------------------------------------------------------------------------------