public inbox for bunsen@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Keith Seitz <keiths@redhat.com>
Cc: Serhei Makarov <me@serhei.io>, Bunsen <bunsen@sourceware.org>
Subject: Re: [RFC] GDB sanity test
Date: Thu, 21 Apr 2022 11:18:24 -0400	[thread overview]
Message-ID: <20220421151824.GD21143@redhat.com> (raw)
In-Reply-To: <41037236-1123-9d34-178e-65a840ff3617@redhat.com>

Hi -

> [...]
> I guess if we rely on DejaGNU .log/.sum files as test data, we could write up
> a function to grok the results at the end of the .sum file to compare with what
> the actual bunsen parsers read. That is essentially how/why I wrote summarize.py.
> 
> Any other ideas how we might want to do this?

If this kind of ongoing sanity checking were valuable -- comparing
final .sum "# of FOOBAR" counts from dejagnu to parser output data,
then the parser could do that itself every time it runs, as a
confirmatory self-check.


> [...]
> The one obvious missing bit is being able to easily invoke tests. Right now,
> I just rely on "python3 -m pytest tests" to run all tests. Maybe a makefile
> or shell script to do this would be appropriate.

In the fche/bunsenql branch, there is now autoconf/automake machinery that
lets you run "configure; make; make check" and run the bulk of your test
in the automake style.


- FChE


  reply	other threads:[~2022-04-21 15:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-19 19:01 Keith Seitz
2022-04-19 20:33 ` Serhei Makarov
2022-04-20 15:32   ` Keith Seitz
2022-04-21 15:18     ` Frank Ch. Eigler [this message]
2022-04-21 16:31       ` Keith Seitz

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=20220421151824.GD21143@redhat.com \
    --to=fche@redhat.com \
    --cc=bunsen@sourceware.org \
    --cc=keiths@redhat.com \
    --cc=me@serhei.io \
    /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).