diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/sandbox/runtest_menu.bat | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/sandbox/runtest_menu.bat b/src/test/sandbox/runtest_menu.bat index dbddff2e..fc6ad93e 100644 --- a/src/test/sandbox/runtest_menu.bat +++ b/src/test/sandbox/runtest_menu.bat | |||
| @@ -16,6 +16,9 @@ for /f "tokens=2 delims=[]" %%a in ('ping -n 1 -4 ""') do set IPAddr=%%a | |||
| 16 | set "MsVsMonPath=C:\sandbox\Debugger\x64\msvsmon.exe /noauth /anyuser /nosecuritywarn" | 16 | set "MsVsMonPath=C:\sandbox\Debugger\x64\msvsmon.exe /noauth /anyuser /nosecuritywarn" |
| 17 | ) | 17 | ) |
| 18 | ) | 18 | ) |
| 19 | FOR /F "tokens=* USEBACKQ" %%F IN (`powershell -Command "[System.Net.Dns]::GetHostEntry('localhost').HostName"`) DO ( | ||
| 20 | SET "Hostname=%%F" | ||
| 21 | ) | ||
| 19 | 22 | ||
| 20 | :TestSelect | 23 | :TestSelect |
| 21 | cls | 24 | cls |
| @@ -24,7 +27,7 @@ REM Show the test select menu | |||
| 24 | REM We start with an entry for the Debugger if available | 27 | REM We start with an entry for the Debugger if available |
| 25 | set index=0 | 28 | set index=0 |
| 26 | if not "%MsVsMonPath%"=="" ( | 29 | if not "%MsVsMonPath%"=="" ( |
| 27 | echo [!index!] Run Remote Debugger [SandboxIP=%IPAddr%] | 30 | echo [!index!] Run Remote Debugger [IP=%IPAddr%] [Hostname=%Hostname%] |
| 28 | set "option[!index!]=%MsVsMonPath%" | 31 | set "option[!index!]=%MsVsMonPath%" |
| 29 | ) | 32 | ) |
| 30 | 33 | ||
