public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: Dodji Seketeli <dodji@redhat.com>
To: libabigail@sourceware.org
Cc: dodji@redhat.com
Subject: [PATCH] test-alt-dwarf-file.cc: Fix test result accounting
Date: Fri, 01 Mar 2024 18:18:33 +0100	[thread overview]
Message-ID: <874jdp98gm.fsf@redhat.com> (raw)

Hello,

The first test to fail was causing all subsequent tests to appear as
failing as well.  Fixed thus.

	* tests/test-alt-dwarf-file.cc (main): Re-set the is_ok variable
	to true in the loop.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applying to the master branch
---
 tests/test-alt-dwarf-file.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test-alt-dwarf-file.cc b/tests/test-alt-dwarf-file.cc
index d9d68145..b0de203d 100644
--- a/tests/test-alt-dwarf-file.cc
+++ b/tests/test-alt-dwarf-file.cc
@@ -95,6 +95,7 @@ main()
   abidw = string(get_build_dir()) + "/tools/abidw";
   for (InOutSpec* s = in_out_specs; s->in_elf_path; ++s)
     {
+      is_ok = true;
       abidw_options = s->abidw_options;
       in_elf_path = string(get_src_dir()) + "/tests/" + s->in_elf_path;
       debug_info_dir =
-- 
2.39.3


-- 
		Dodji


                 reply	other threads:[~2024-03-01 17:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=874jdp98gm.fsf@redhat.com \
    --to=dodji@redhat.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).