On Sun, May 12, 2024 at 04:23:33PM -0500, mikeegg1 via Users help list for 
gnucap. wrote:
> I have compiled gnu cap without issues.
> I have installed gnu cap without issues.
> How do I test gnu cap to make sure it’s ok and functioning properly?
> When I run gnu cap on a single file in the tests directory I do:
> 
> $ gnucap current.ckt

Dear Mike.

It seems you are almost there.

Gnucap has a -b switch that was added to mimic "spice batch mode". In
this mode, the first line is treated as a comment, and the rest is
parsed after setting the input language to spice. The *ckt files are
adopted from spice decks, run them with

$ gnucap -b current.ckt
[..]

This is not normally needed except for running these tests. The *.gc
tests are run in normal native interactive mode. For example

$ gnucap lang_verilog.1.gc
[..]

The known results are also included, there is a little script automating
the comparison.

$ ./test gnucap "" check \=\=out/
[..]

The differences between output and known will be stored in check/.diffs.

(An additional "check" target providing more convenience and parallelism
is currently under review and will likely be part of the next release.)

Best wishes
felix

Reply via email to