incorporate CMC test suite into make target 'check'

This commit is contained in:
rlar 2011-05-30 19:53:29 +00:00
parent 19cff2c4be
commit b4eb003d72
2 changed files with 26 additions and 0 deletions

View File

@ -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 ,

22
tests/bin/check_cmc.sh Executable file
View File

@ -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