diff --git a/ChangeLog b/ChangeLog index 65172b716..dc742caf3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-05-30 Robert Larice + * tests/bin/check_cmc.sh : + incorporate CMC test suite into make target 'check' + 2011-05-30 Robert Larice * configure.ac , * tests/bin/modelQaTestRoutines.pm , diff --git a/tests/bin/check_cmc.sh b/tests/bin/check_cmc.sh new file mode 100755 index 000000000..babd2f0cd --- /dev/null +++ b/tests/bin/check_cmc.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# cmc model check specific driver for the automake `check' target + +# arguments: +# ngspice-executable subdirectory/qaSpec-file + +# (compile "./check_cmc.sh thexec nmos/qaSpec") + +executable="$1" +qaspec="$2" +subdir="$(dirname $2)" + +echo "qaspec = $qaspec" +echo "subdir = $subdir" +echo "executable = $executable" + +exec "$(dirname $0)/run_cmc_check" \ + --executable="${executable}" \ + --srcdir="${subdir}/" \ + -qa "${qaspec}" \ + ngspice