insert cmc qa test for hicum2 model

This commit is contained in:
dwarning 2019-05-16 11:28:18 +02:00
parent 09051d99fb
commit c114942059
2 changed files with 29 additions and 17 deletions

View File

@ -116,23 +116,30 @@ check_adms_va()
for adms_dir in $admsdirs ; do
FOK=0
if [ -d "$adms_dir" ]; then
ls $adms_dir/admsva/*.va > /dev/null 2>&1
exitcode=$?
if [ $exitcode -ne 0 ]; then
FOK=1
fi
else
FOK=1
fi
if [ "$FOK" -eq 1 ]; then
echo "Error: No *.va file found in $adms_dir/admsva"
echo "Please download patch file ng-adms-va.tar.gz from"
echo "http://ngspice.sourceforge.net/experimental/ng-adms-va.tar.gz"
echo "and expand it into the ngspice directory"
echo
DIE=1
fi
case "$adms_dir" in
"tests/hicum")
# echo "Skipping test dir"
;;
*)
if [ -d "$adms_dir" ]; then
ls $adms_dir/admsva/*.va > /dev/null 2>&1
exitcode=$?
if [ $exitcode -ne 0 ]; then
FOK=1
fi
else
FOK=1
fi
if [ "$FOK" -eq 1 ]; then
echo "Error: No *.va file found in $adms_dir/admsva"
echo "Please download patch file ng-adms-va.tar.gz from"
echo "http://ngspice.sourceforge.net/experimental/ng-adms-va.tar.gz"
echo "and expand it into the ngspice directory"
echo
DIE=1
fi
;;
esac
done
}
@ -198,6 +205,10 @@ $znew
case "$adms_dir" in
"tests/hicum")
# echo "Skipping test dir"
;;
"admst")
# echo "Skipping admst dir"
;;

View File

@ -1042,6 +1042,7 @@ if test "x$enable_adms" = xyes ; then
#VLAMKF src/spicelib/devices/adms/hicum2/Makefile
#VLAMKF src/spicelib/devices/adms/mextram/Makefile
#VLAMKF src/spicelib/devices/adms/psp102/Makefile
#VLAMKF tests/hicum/Makefile
NOTVLADEVDIR=""