On Sun, 12 May 2024 16:23:33 -0500
mikeegg1 via "Users help list for gnucap." <[email protected]> wrote:
> How do I test gnu cap to make sure it’s ok and functioning properly?

There is a README file in "tests" that explains how to run the test
suite.

> When I run gnu cap on a single file in the tests directory I do:
> 
> $ gnucap current.ckt
> Gnucap : The Gnu Circuit Analysis Package
.....
> default plugins: release 2024.02.20
> a current source
> ^ ? what's this?
> I1   1  0  dc 1.2 ac 1
> ^ ? what's this?
> R1   1  0  1.

The .ckt files there (as opposed to the .gc files) are old Spice format
tests.  To run them, use the "-b" option, for example 

"gnucap -b current.ckt".

This is consistent with the way Spice does it, or at least it was.

The ".gc" files do not require the "-b".


Reply via email to