public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: Dodji Seketeli <dodji@seketeli.org>
To: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com>
Cc: "Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org>
Subject: Re: [PATCH] Add regression tests for abipkgdiff using ctf info
Date: Mon, 04 Jul 2022 09:20:24 +0200	[thread overview]
Message-ID: <87edz1cpjb.fsf@seketeli.org> (raw)
In-Reply-To: <21542305.EfDdHjke4D@sali> (Guillermo E. Martinez's message of "Fri, 01 Jul 2022 11:08:52 -0500")

Hello Guillermo,

"Guillermo E. Martinez" <guillermo.e.martinez@oracle.com> a écrit:

>> > 	* 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),

Sorry, I am not sure to understand this.  What are the steps that would
exist for DWARF that would not in CTF, and that would have to be handled
at the testing level, rather than at the level of abipkgdiff/libabigail
itself?  This is a honest question.  I can't think of any such case
right now.  Do you see any?

> 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. 

Then I'd rather keep the simpler way for now.  Unless you think there is
an absolute need for the more complicated choice right now, of course.

Cheers,

-- 
		Dodji

  reply	other threads:[~2022-07-04  7:20 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
2022-07-04  7:20     ` Dodji Seketeli [this message]
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=87edz1cpjb.fsf@seketeli.org \
    --to=dodji@seketeli.org \
    --cc=guillermo.e.martinez@oracle.com \
    --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).