aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 17089ae54..697f6f784 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -784,7 +784,7 @@ sub singletest {
print GDBCMD "set args $cmdargs\n";
print GDBCMD "show args\n";
close(GDBCMD);
- system("gdb $DBGCURL -x log/gdbcmd");
+ system("gdb --directory libtest $DBGCURL -x log/gdbcmd");
$res =0; # makes it always continue after a debugged run
}
else {