mirror of
https://github.com/curl/curl.git
synced 2025-09-11 06:32:41 +03:00
tests: make sure gdb gets the right path for -x
Regression from #16452 Closes #16495
This commit is contained in:
parent
dbbbf717f3
commit
f5527e57f8
|
@ -1034,12 +1034,12 @@ sub singletest_run {
|
||||||
if ($torture) {
|
if ($torture) {
|
||||||
$cmdres = torture($CMDLINE,
|
$cmdres = torture($CMDLINE,
|
||||||
$testnum,
|
$testnum,
|
||||||
"$gdb --directory $LIBDIR " . shell_quote($DBGCURL) . " -x $LOGDIR" . "gdbcmd");
|
"$gdb --directory $LIBDIR " . shell_quote($DBGCURL) . " -x $LOGDIR/gdbcmd");
|
||||||
}
|
}
|
||||||
elsif($gdbthis == 1) {
|
elsif($gdbthis == 1) {
|
||||||
# gdb
|
# gdb
|
||||||
my $GDBW = ($gdbxwin) ? "-w" : "";
|
my $GDBW = ($gdbxwin) ? "-w" : "";
|
||||||
runclient("$gdb --directory $LIBDIR " . shell_quote($DBGCURL) . " $GDBW -x $LOGDIR" . "gdbcmd");
|
runclient("$gdb --directory $LIBDIR " . shell_quote($DBGCURL) . " $GDBW -x $LOGDIR/gdbcmd");
|
||||||
$cmdres=0; # makes it always continue after a debugged run
|
$cmdres=0; # makes it always continue after a debugged run
|
||||||
}
|
}
|
||||||
elsif($gdbthis == 2) {
|
elsif($gdbthis == 2) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user