[PATCH] test-alt-dwarf-file.cc: Fix test result accounting
Dodji Seketeli
dodji@redhat.com
Fri Mar 1 17:18:33 GMT 2024
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
More information about the Libabigail
mailing list