public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ruud van der Pas <ruud.vanderpas@oracle.com>
To: "binutils@sourceware.org" <binutils@sourceware.org>
Subject: The use of the name tmpdir in the tests
Date: Thu, 15 Jun 2023 21:53:28 +0000	[thread overview]
Message-ID: <C95C6857-C57B-4B26-AF23-B5CE9A0B4F62@oracle.com> (raw)

Hi team,

This is an absolute detail, but as I am working on the test suite
for gprofng, I noticed the use of a directory called "tmpdir".

I count about 155 .exp files across binutils that use it:

$ grep -sw tmpdir `find . -name "*".exp -print` | awk 'BEGIN {FS=":"} {print $1}' | uniq | wc
    155     155    6000
$

The thing is that in the case of gprofng at least, this is far from
a temporary directory. It is going to contain the generated experiment
data that is crucial for troubleshooting in case of a failure.

Of course we could place those experiments elsewhere, but my idea
was to give tmpdir a more meaningful name.

Are there any objections against doing so? For example, will 
certain scripts fail?

If not, any suggestion what would be a good name? I'm not that
creative so don't get any further than "results" or "expresults"
and am definitely open to suggestions.

Kind regards, Ruud

             reply	other threads:[~2023-06-15 21:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-15 21:53 Ruud van der Pas [this message]
2023-06-16  6:11 ` Jan Beulich
2023-06-16  6:15   ` Ruud van der Pas
2023-06-16 10:08 ` Nick Clifton
2023-06-17 10:38   ` Ruud van der Pas

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=C95C6857-C57B-4B26-AF23-B5CE9A0B4F62@oracle.com \
    --to=ruud.vanderpas@oracle.com \
    --cc=binutils@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).