Skip to content

Differences between v34 and v36 ngspice_jll #33

Description

@sjkelly

On this test:

for branch in split("vcc#branch vin#branch")
@test getvec(branch)[2] == "current"
end

(note: I added listallvecs() for debugging)

with v36:

     Testing Running tests...
Test Summary:       | Pass  Total
interface functions |    6      6
Running the simulator
listallvecs() = Dict("const" => ["planck", "boltz", "echarge", "kelvin", "i", "c", "e", "pi", "FALSE", "no", "TRUE", "yes"], "tran1" => ["vin#branch", "vcc#branch", "coll", "base", "V(1)", "vcc", "emit", "time"], "tran2" => ["vin#branch", "vcc#branch", "coll", "base", "V(1)", "vcc", "emit", "time"])
getvectors: Error During Test at /home/steve/.julia/dev/NgSpice/test/wrapper_api.jl:27
  Test threw exception
  Expression: (getvec(branch))[2] == "current"
  "Vector vin#branch not found"
  Stacktrace:

with v34:

listallvecs() = Dict("const" => ["planck", "boltz", "echarge", "kelvin", "i", "c", "e", "pi", "FALSE", "no", "TRUE", "yes"], "tran1" => ["vin#branch", "vcc#branch", "coll", "base", "V(1)", "vcc", "emit", "time"], "tran2" => ["vin#branch", "vcc#branch", "coll", "base", "V(1)", "vcc", "emit", "time"])

I am not certain if an API has changed, but we should likely pin ngspice_jll at v34 for the time being since the tests fail.

cc @GlenHertz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions