All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bios-tables-test: do not ignore allowed diff list
@ 2022-10-27 15:11 Michael S. Tsirkin
  2022-10-27 15:31 ` Ani Sinha
  2022-10-31 10:49 ` Igor Mammedov
  0 siblings, 2 replies; 7+ messages in thread
From: Michael S. Tsirkin @ 2022-10-27 15:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: Igor Mammedov, Ani Sinha

we had such a beautiful structure for updating
expected files, designed to keep bisect working.
It turns out that we ignored the result of
the allow list checks unless all tables matched
anyway.

Sigh.

Let's at least make it work going forward.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 tests/qtest/bios-tables-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
index e6096e7f73..a72f6ca326 100644
--- a/tests/qtest/bios-tables-test.c
+++ b/tests/qtest/bios-tables-test.c
@@ -458,7 +458,7 @@ static void test_acpi_asl(test_data *data)
                 "for instructions on how to update expected files.\n",
                 exp_sdt->aml, sdt->aml_file, exp_sdt->aml_file);
 
-        all_tables_match = all_tables_match &&
+        all_tables_match = all_tables_match ||
             test_acpi_find_diff_allowed(exp_sdt);
 
         /*
-- 
MST



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-31 12:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27 15:11 [PATCH] bios-tables-test: do not ignore allowed diff list Michael S. Tsirkin
2022-10-27 15:31 ` Ani Sinha
2022-10-31 10:49 ` Igor Mammedov
2022-10-31 10:52   ` Michael S. Tsirkin
2022-10-31 12:31     ` Igor Mammedov
2022-10-31 12:44       ` Michael S. Tsirkin
2022-10-31 12:50       ` Ani Sinha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.