test-alt-dwarf-file.cc: Fix test result accounting

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>
This commit is contained in:
Dodji Seketeli 2024-02-28 11:14:28 +01:00
parent 6432acb1d9
commit 79b5391a51

View File

@ -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 =