ngspice/tests
rlar d0897fd0c4 src/spicelib/parser/inpptree.c, bug fix, B expression of kind `max(0,expr)'
identified and reported by Marcel Hendrix,
expressions of this kind could trigger a segmentation violation.

PTdifferentiate() roughly evaluates to
  ternary_fcn(ge0(0-expr), 0, PTdifferentate(expr))
and mkb() optimizes
  0 - expr --> unary_minus(expr)

IFeval() invokes PTeval() for the derivative too,
PTeval() looks at the incorrect tree->funcnum
  and tries to PTeval for a second argument which is not there,
     (unary_minus does not have a second argument)
  causing a segmentation fault.
2016-03-09 20:24:37 +01:00
..
bin tests/bin/modelQaTestRoutines.pm, avoid defined(@array) is deprecated warning 2015-10-31 20:32:19 +01:00
bsim1
bsim2
bsim3 model qa check for other simulator 2015-03-30 16:02:41 +02:00
bsim3soidd
bsim3soifd
bsim3soipd
bsim4 use latest version for bsim4 2015-03-31 14:12:33 +02:00
bsimsoi model qa check for other simulator 2015-03-30 16:02:41 +02:00
filters
general
hfet
hisim model qa check for other simulator 2015-03-30 16:02:41 +02:00
hisimhv1 model qa check for other simulator 2015-03-30 16:02:41 +02:00
hisimhv2 model qa check for other simulator 2015-03-30 16:02:41 +02:00
jfet
mes
mesa
mos6
polezero
regression src/spicelib/parser/inpptree.c, bug fix, B expression of kind `max(0,expr)' 2016-03-09 20:24:37 +01:00
resistance
sensitivity
transient
transmission
vbic
xspice
.gitignore bsim4 generates .out files 2015-03-31 17:25:02 +02:00
ChangeLog
Makefile.am extend qa test to hisimhv version 2 2015-03-30 12:48:44 +02:00
README

README

ngspice test and example files:
===============================

This directory is organized as a tree of subdirectories containing test files
for devices and analyses implemented in ngspice.

Some files comes from the original Spice3f5 package and others have been 
contributed by developers and users.


File Extension Convention:

.cir : Circuit file. This can be a simple circuit description or a spice2
       input file.
.out : .cir files have been run and results are recorded into this
       type of file. This is useful if want to test ngspice against
       known (hopefully correct results).        
               
REPLICATE TESTS

To replicate tests you have to launch configure without any option and
compile ngspice. In the future this will change.

TO ADD NEW TESTS

Take an existing test and adopt it to your liking.  Add the test
script and its supporting files to Makefile.am.  Use `make check' to
see your new test in action.