-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring up previous session #487
base: master
Are you sure you want to change the base?
Conversation
a94ca1f
to
71d5c6c
Compare
I'm not a fan of this idea. It brings significant complexity similar to |
71d5c6c
to
7e1ff8a
Compare
@@ -581,6 +582,8 @@ def save_run_script(file_name, file_content) | |||
|
|||
def run_config_commands | |||
device_config_commands.each do |dirty_cmd| | |||
next if dirty_cmd.include?('@swtpm_setup_bin@') && @run_opts[:reuse_tpm] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Figure out how to handle this in a generic manner instead of introducing a special handling.
7e1ff8a
to
8a79a7e
Compare
Signed-off-by: Vitalii Chulak <[email protected]>
8a79a7e
to
0ba68bc
Compare
cli.test.platform = session.test.platform | ||
cli.test.drivers = session.test.drivers | ||
cli.test.driver_path ||= session.test.driver_path | ||
cli.test.commit ||= session.test.commit | ||
cli.test.svvp = session.test.svvp | ||
cli.test.dump ||= session.test.dump | ||
cli.test.gthb_context_prefix ||= session.test.gthb_context_prefix | ||
cli.test.gthb_context_suffix ||= session.test.gthb_context_suffix | ||
cli.test.playlist ||= session.test.playlist | ||
cli.test.select_test_names ||= session.test.select_test_names | ||
cli.test.reject_test_names ||= session.test.reject_test_names | ||
cli.test.reject_report_sections ||= session.test.reject_report_sections | ||
cli.test.boot_device ||= session.test.boot_device | ||
cli.test.allow_test_duplication ||= session.test.allow_test_duplication | ||
cli.test.manual ||= true | ||
cli.test.package_with_playlist |= session.test.package_with_playlist | ||
cli.test.session = session_path(cli) | ||
cli.test.latest_session ||= session.test.latest_session | ||
cli.common.verbose ||= session.common.verbose | ||
cli.common.config ||= session.common.config | ||
cli.common.client_world_net ||= session.common.client_world_net | ||
cli.common.id ||= session.common.id | ||
cli.common.share_on_host_path ||= session.common.share_on_host_path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about just assigning session.test
to cli.test
instead of listing every properties here?
{ | ||
test: options.test.serialize, | ||
common: options.common.serialize | ||
}.to_json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use Models::Session
.
WIP