public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] test-alt-dwarf-file.cc: Fix test result accounting
@ 2024-03-01 17:18 Dodji Seketeli
  0 siblings, 0 replies; only message in thread
From: Dodji Seketeli @ 2024-03-01 17:18 UTC (permalink / raw)
  To: libabigail; +Cc: dodji

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-01 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-01 17:18 [PATCH] test-alt-dwarf-file.cc: Fix test result accounting Dodji Seketeli

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