affbe5f5创建于 2025年3月25日历史提交
#!/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)"
kind="$(basename $subdir)"

echo "qaspec = $qaspec"
echo "subdir = $subdir"
echo "executable = $executable"
echo "kind = $kind"

mkdir -p "$kind"

exec "$(dirname $0)/run_cmc_check" \
    --executable="${executable}" \
    --srcdir="${subdir}/" \
    --results "$kind/results" \
    -qa "${qaspec}" \
    ngspice