From: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com>
To: "Guillermo E. Martinez via Libabigail"
<libabigail@sourceware.org>, Dodji Seketeli <dodji@seketeli.org>
Subject: Re: [PATCH] Add regression tests for abipkgdiff using ctf info
Date: Fri, 01 Jul 2022 11:08:52 -0500 [thread overview]
Message-ID: <21542305.EfDdHjke4D@sali> (raw)
In-Reply-To: <87ilogdhgp.fsf@seketeli.org>
On Friday, July 1, 2022 9:40:22 AM CDT Dodji Seketeli wrote:
> Hello Guillermo,
Hello Dodji,
> "Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org> a
> écrit:
>
> Thank you for working on this. It's appreciated.
Thanks,
> I have a question however.
>
> [...]
>
> > This patch implements the regression tests for abipkgdiff tool to help
> > process packages win ctf debug information. Since the code shares
> > lots of functionalities already used with abipkgdiff in comparing
> > packages with dwarf info, a library was built.
>
> I am wondering ...
>
> [...]
>
> > * tests/test-diff-pkg-ctf.cc: Testsuite for abipkgdiff --ctf.
>
> Why come up with a something else but test-diff-pkg.cc just to test RPMs
> using abipkgdiff --ctf?
Actually that was my first approach, but looking inside of the acts to perform
the abipkgdiff DWARFs test, the steps could be changed in the feature
(new steps in `perform' member function applied to DWARFs not applicable to CTF),
so it was my motivation to split the tests. But of course these are my
thoughts, and I will follow you advices because you have much more
experience. So what do you think, worth split the tests for DWARF and CTF?
> I mean, can't we just use test-diff-pkg.cc and fill in entries made of
> instances of struct InOutSpec with InOutSpec::prog_option filled in with
> a string prefixed by " --ctf " ?
>
> Of course, those ctf-related entries would be guarded by #ifdef WITH_CTF
> or the like.
>
>
> Wouldn't that work and be simpler?
For the current implementation, absolutely.
> [...]
Regards,
guillermo
next prev parent reply other threads:[~2022-07-01 16:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-23 15:16 Guillermo E. Martinez
2022-07-01 14:40 ` Dodji Seketeli
2022-07-01 16:08 ` Guillermo E. Martinez [this message]
2022-07-04 7:20 ` Dodji Seketeli
2022-07-04 16:01 ` Guillermo E. Martinez
2022-07-05 1:00 ` [PATCH v2] " Guillermo E. Martinez
2022-07-08 13:46 ` Dodji Seketeli
2022-07-08 14:30 ` [PATCH v3] " Guillermo E. Martinez
2022-07-11 10:55 ` Dodji Seketeli
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=21542305.EfDdHjke4D@sali \
--to=guillermo.e.martinez@oracle.com \
--cc=dodji@seketeli.org \
--cc=libabigail@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).