diff options
-rwxr-xr-x | tests/runtests.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index f44991c6b..8e1cd220b 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2097,9 +2097,11 @@ sub singletest { } if($gdbthis) { + my $gdbinit = "$TESTDIR/gdbinit$testnum"; open(GDBCMD, ">$LOGDIR/gdbcmd"); print GDBCMD "set args $cmdargs\n"; print GDBCMD "show args\n"; + print GDBCMD "source $gdbinit\n" if -e $gdbinit; close(GDBCMD); } # run the command line we built |