Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA/testsuite] New testcase for set/unset/show substitute-path
Date: Fri, 06 Oct 2006 18:21:00 -0000	[thread overview]
Message-ID: <20061006182052.GG980@adacore.com> (raw)
In-Reply-To: <20061005194918.GB10269@nevyn.them.org>

> As for functionality testing, I would recommend doing it like this.
> There's already some samples of creating files and directories during
> testing (e.g. corefile.exp, commands.exp).  Use that to make two
> directories.  Put a source file with different contents in each but the
> same basename.  Compile and debug one of them without issuing a "dir"
> command, unlike most of the existing tests, and verify that we find the
> file we expect.  Then, use "info source" and look for "Compilation
> directory"; and that should be all you need to use substitute-path to
> point at the other directory, and verify that now list shows the second
> file.
> 
> Sound reasonable?  No rush - just offering the suggestion.

Excellent. Thanks a lot for the recommendations!

-- 
Joel


      reply	other threads:[~2006-10-06 18:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 23:00 Joel Brobecker
2006-10-04 21:46 ` Joel Brobecker
2006-10-05 19:37   ` Mark Kettenis
2006-10-06 18:20     ` Joel Brobecker
2006-10-05 19:49 ` Daniel Jacobowitz
2006-10-06 18:21   ` Joel Brobecker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061006182052.GG980@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox