Enable log for regression tests
This commit is contained in:
parent
73f38fe340
commit
7f2b3f4886
@ -219,12 +219,18 @@ function s:DeviceFirmwareUpdateStart()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function s:DeviceFirmwareDebug()
|
function s:DeviceFirmwareDebug()
|
||||||
|
let cmd = 'killall ssh'
|
||||||
|
echom cmd
|
||||||
|
call system(cmd)
|
||||||
let cmd = 'ssh '.g:SshOpts.' -L localhost:'.g:GdbPort.':localhost:'.g:GdbPort.' "root@'.g:DeviceIP.'" '.g:SshOpts2.' gdbserver --multi localhost:'.g:GdbPort.' &'
|
let cmd = 'ssh '.g:SshOpts.' -L localhost:'.g:GdbPort.':localhost:'.g:GdbPort.' "root@'.g:DeviceIP.'" '.g:SshOpts2.' gdbserver --multi localhost:'.g:GdbPort.' &'
|
||||||
echom cmd
|
echom cmd
|
||||||
call system(cmd)
|
call system(cmd)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function s:DeviceFirmwareAttach()
|
function s:DeviceFirmwareAttach()
|
||||||
|
let cmd = 'killall ssh'
|
||||||
|
echom cmd
|
||||||
|
call system(cmd)
|
||||||
let cmd = 'ssh '.g:SshOpts.' -L localhost:'.g:GdbPort.':localhost:'.g:GdbPort.' "root@'.g:DeviceIP.'" '.g:SshOpts2.' "gdbserver localhost:'.g:GdbPort.' --attach \`pidof '.fnamemodify(g:ProgramRemote, ':t').'\` &"'
|
let cmd = 'ssh '.g:SshOpts.' -L localhost:'.g:GdbPort.':localhost:'.g:GdbPort.' "root@'.g:DeviceIP.'" '.g:SshOpts2.' "gdbserver localhost:'.g:GdbPort.' --attach \`pidof '.fnamemodify(g:ProgramRemote, ':t').'\` &"'
|
||||||
echom cmd
|
echom cmd
|
||||||
call system(cmd)
|
call system(cmd)
|
||||||
@ -312,6 +318,7 @@ function s:DlcProRegtest(ip, powerswitch_ip, powerplug, laser_count, laser_type,
|
|||||||
\"--license_keyfile=".s:ProjectSrcDir."/license/libdlcprolicense/rsa-private.key ".
|
\"--license_keyfile=".s:ProjectSrcDir."/license/libdlcprolicense/rsa-private.key ".
|
||||||
\"--skip_shutdown_after_test ".
|
\"--skip_shutdown_after_test ".
|
||||||
\"--skip_fw_update ".
|
\"--skip_fw_update ".
|
||||||
|
\"--override log_cli=1 --override log_cli_level=DEBUG --override log_file_level=DEBUG ".
|
||||||
\a:opts." ".a:arguments
|
\a:opts." ".a:arguments
|
||||||
echom test_cmd
|
echom test_cmd
|
||||||
call term_start(test_cmd, {'cwd' : test_dir})
|
call term_start(test_cmd, {'cwd' : test_dir})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user