Skip to content

Commit

Permalink
Fixed CLI test
Browse files Browse the repository at this point in the history
  • Loading branch information
ginty committed Jul 25, 2024
1 parent 2929908 commit 4ebd167
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/origen/origen/helpers/regressions/cli/origen.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ class Names:
# new = _CommonNames.new
pl = _CommonNames.pl
pls = _CommonNames.pls
# save_ref = "save_ref"
save_ref = "save_ref"
target = "target"
# web = "web"
names = Names()
Expand Down Expand Up @@ -384,7 +384,7 @@ def targets_arg(cls, help):
# new = Cmd(names.new)
pl = _CommonNames.pl_cmd()
pls = _CommonNames.pls_cmd()
# save_ref = Cmd(names.save_ref)
save_ref = Cmd(names.save_ref)
target = Cmd(
names.target,
help="Set/view the default target",
Expand Down Expand Up @@ -436,7 +436,7 @@ def targets_arg(cls, help):

commands = [
# app, aux_cmds, build, compile, creds, env, eval, exec, fmt, generate, i, mailer, mode, new, pl, pls, save_ref, target, web
app, aux_cmds, creds, env, eval, exec, generate, i, pl, pls, target
app, aux_cmds, creds, env, eval, exec, generate, i, pl, pls, save_ref, target
]
cmds = commands

Expand Down
1 change: 1 addition & 0 deletions rust/origen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ pub fn initialize(
if let Some(app) = app() {
origen_metal::PROG_GEN_CONFIG.set_app_name(app.name());
}
origen_metal::PROG_GEN_CONFIG.set_debug_enabled(crate::STATUS.is_debug_enabled());
}

pub fn app() -> Option<&'static Application> {
Expand Down

0 comments on commit 4ebd167

Please sign in to comment.