From 3fef966c5ff1b0f6031e31117547e901fedb08c4 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 18 Oct 2013 14:00:44 -0600 Subject: fix some "exec" tests A few tests run an inferior that execs some other program. The name of this exec'd program is compiled in. These tests assume the current test suite directory layout, but fail in parallel mode. This patch fixes these tests by letting the .exp files pass in the directory names at compile time. 2013-11-04 Tom Tromey * gdb.base/foll-exec.c (main): Use BASEDIR. * gdb.base/foll-exec.exp: Define BASEDIR during compilation. * gdb.base/foll-vfork.c (main): Use BASEDIR. * gdb.base/foll-vfork.exp: Define BASEDIR during compilation. * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR. * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation. --- gdb/testsuite/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gdb/testsuite/ChangeLog') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f60e657..0c33d0e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,14 @@ 2013-11-04 Tom Tromey + * gdb.base/foll-exec.c (main): Use BASEDIR. + * gdb.base/foll-exec.exp: Define BASEDIR during compilation. + * gdb.base/foll-vfork.c (main): Use BASEDIR. + * gdb.base/foll-vfork.exp: Define BASEDIR during compilation. + * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR. + * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation. + +2013-11-04 Tom Tromey + * gdb.base/argv0-symlink.exp: Compute executable's directory dynamically. -- cgit v1.1