From c1149420590626d247a384b28f159b33bad45822 Mon Sep 17 00:00:00 2001 From: dwarning Date: Thu, 16 May 2019 11:28:18 +0200 Subject: [PATCH] insert cmc qa test for hicum2 model --- autogen.sh | 45 ++++++++++++++++++++++++++++----------------- configure.ac | 1 + 2 files changed, 29 insertions(+), 17 deletions(-) diff --git a/autogen.sh b/autogen.sh index cdf8fe4e6..7565efef4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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" ;; diff --git a/configure.ac b/configure.ac index be5139fab..f2ddf6c1e 100644 --- a/configure.ac +++ b/configure.ac @@ -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=""