public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@elastic.org>
To: Mark Wielaard <mark@klomp.org>
Cc: dwz@sourceware.org
Subject: Re: dwz testsuite patch: version tagging
Date: Tue, 12 Jul 2022 09:39:12 -0400	[thread overview]
Message-ID: <Ys15gH12jNpqmUN2@elastic.org> (raw)
In-Reply-To: <5a9187b8e4a05af37a56c0f499de4149eee3d253.camel@klomp.org>

Hi -

> So for me this adds:
> /opt/local/src/dwz/testsuite-bin/dwz version 0.14
> to the end of dwz.log and dwz.sum
> 
> Which is "correct" but also not that useful imho.
> [...]
> It is not that useful because the version string isn't really enough to
> know what was being tested. It would be nice if it could include the
> top of git hash for example.

One solution to that is to compile the git-hash into the dwz binary
itself, just like we do with systemtap (git_version.sh etc.).  Then
dwz --version would report that version too, and this bit of dejagnu
code would capture it.


- FChE

      reply	other threads:[~2022-07-12 13:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06 16:45 Frank Ch. Eigler
2022-07-12 13:37 ` Mark Wielaard
2022-07-12 13:39   ` Frank Ch. Eigler [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=Ys15gH12jNpqmUN2@elastic.org \
    --to=fche@elastic.org \
    --cc=dwz@sourceware.org \
    --cc=mark@klomp.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).