You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@coreyeng I'm getting errors when this code block executes (running "origen test" command within the origen_jtag gem, with the Gemfile updated to point to a local version of origen)
Hi @pderouen. I think what's happening is the model initializer is going through all the constants to see if it needs to initialize anything and it eventually hits a OrigenJTAG::DUT constant, which is defined in development.rb. When the const_get gets run, Ruby tries to resolve the constant but origen_jtag/dut doesn't exists. I think either because its happening dynamically or because its an autoload, the error is very unhelpful.
I'll make some time and see if I can build in a better error handler here. At the very least knowing what constant it failed at would've been nice.
@coreyeng I'm getting errors when this code block executes (running "origen test" command within the origen_jtag gem, with the Gemfile updated to point to a local version of origen)
origen/lib/origen/model_initializer.rb
Line 25 in 38a216d
When I comment out that block the tests run and pass. Here is the error:
The text was updated successfully, but these errors were encountered: