Skip to content

Commit

Permalink
RHELMISC-4745: Add ability to bring up previous session
Browse files Browse the repository at this point in the history
Signed-off-by: Vitalii Chulak <[email protected]>
  • Loading branch information
Jedoku committed Mar 3, 2025
1 parent 177e338 commit d120daa
Show file tree
Hide file tree
Showing 10 changed files with 286 additions and 195 deletions.
5 changes: 5 additions & 0 deletions bin/auto_hck
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ module AutoHCK
cli = CLI.new
cli.parse(ARGV)

if cli.test.latest_session || cli.test.session
session_path = cli.test.latest_session ? "#{Config.read['workspace_path']}/latest" : cli.test.session
cli = Session.load(session_path, cli)
end

ENV.store 'LC_ALL', 'en_US.UTF-8'

Trap.init_traps(%w[TERM INT])
Expand Down
1 change: 1 addition & 0 deletions lib/all.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module AutoHCK
autoload_relative :PhysHCK, 'setupmanagers/physhck/physhck'
autoload_relative :Playlist, 'engines/hcktest/playlist'
autoload_relative :Project, 'project'
autoload_relative :Session, 'session'
autoload_relative :QemuHCK, 'setupmanagers/qemuhck/qemuhck'
autoload_relative :QemuHCKError, 'setupmanagers/qemuhck/exceptions'
autoload_relative :QemuMachine, 'setupmanagers/qemuhck/qemu_machine'
Expand Down
Loading

0 comments on commit d120daa

Please sign in to comment.