Skip to content

Commit

Permalink
Fix queue_test parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Vitalii Chulak <vitalii@daynix.com>
  • Loading branch information
Jedoku authored and kostyanf14 committed Sep 2, 2024
1 parent c0a3279 commit 1c80203
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rtoolsHCK.rb
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ def get_test_info(test, target, project, machine, pool)
# +pool+:: The name of the pool
# +sup+:: The name of the support machine as registered with the
# HCK\HLK controller, (can be nil)
# +parameters+:: Additional parameters in format '{ ParameterName1: Value1, ParameterName2: Value2 }', (can be nil)
# +ipv6+:: The IPv6 address of the support machine, (can be nil)
def queue_test(test,
target,
Expand All @@ -756,7 +757,7 @@ def queue_test(test,
]
cmd_line << 'json' if @json
cmd_line << "-sup '#{sup}'" unless sup.nil?
cmd_line << "-parameters '#{parameters.to_json}'" unless parameters.empty?
cmd_line << "-parameters '#{parameters.to_json}'" unless parameters.nil?
cmd_line << "-IPv6 '#{ipv6}'" unless ipv6.nil?

handle_return(@toolshck_ether.cmd(cmd_line.join(' ')))
Expand Down

0 comments on commit 1c80203

Please sign in to comment.