mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:11:45 +03:00
runtests: fix bundled test invocation with -g option
Fixes: ``` $ ./runtests.pl -g 1940 ./libtest/libtests lib1940: No such file or directory. Argument list to give program being debugged when it is started is "http://127.0.0.1:44547/1940". ``` Reported-by: Daniel Stenberg Fixes #16893 Closes #16898
This commit is contained in:
parent
0042f11d6e
commit
93964c21f4
1 changed files with 6 additions and 1 deletions
|
|
@ -939,7 +939,12 @@ sub singletest_run {
|
|||
$CMDLINE=exerunner() . $CMDLINE;
|
||||
|
||||
if($bundle) {
|
||||
$CMDLINE.=" $tool_name";
|
||||
if($gdbthis) {
|
||||
$cmdargs =" $tool_name$cmdargs";
|
||||
}
|
||||
else {
|
||||
$CMDLINE.=" $tool_name";
|
||||
}
|
||||
}
|
||||
|
||||
$DBGCURL=$CMDLINE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue