Commit 51e7d04dc84af86eee265569d5013e5cb38a2e2e

Authored by knodlseder
1 parent f3f2ff90

initial version

Showing 1 changed file with 51 additions and 0 deletions
testall.sh 0 → 100755
  1 +#!/bin/sh
  2 +#
  3 +# Run all test and example scripts that come with the package
  4 +# ===========================================================
  5 +base=$PWD
  6 +
  7 +
  8 +# test
  9 +# ====
  10 +echo
  11 +echo "=====> test"
  12 +cd test
  13 +./example_model_xml_io.py
  14 +./example_radial_models.py
  15 +cd $base
  16 +
  17 +
  18 +# inst/cta/test
  19 +# =============
  20 +echo
  21 +echo "=====> inst/cta/test"
  22 +cd inst/cta/test
  23 +./test_model.py
  24 +./test_gauss.py
  25 +./example_binned_ml_fit.py
  26 +./example_sim_photons.py
  27 +cd $base
  28 +
  29 +
  30 +# inst/lat/test
  31 +# =============
  32 +echo
  33 +echo "=====> inst/lat/test"
  34 +cd inst/lat/test
  35 +./test_python.py
  36 +cd $base
  37 +
  38 +
  39 +# inst/mwl/test
  40 +# =============
  41 +echo
  42 +echo "=====> inst/mwl/test"
  43 +cd inst/mwl/test
  44 +./test_python.py
  45 +cd $base
  46 +
  47 +
  48 +# Signal completion
  49 +# =================
  50 +echo
  51 +echo "All scripts completed."
... ...