From fc42c71353d15c564558249bd4f13350119ab6a9 Mon Sep 17 00:00:00 2001 From: Davide Grohmann Date: Mon, 22 Aug 2022 14:06:16 +0200 Subject: Fix wrong assertion in test for Ethos-U65 Both version_major and version_minor for the U65 hw are set to 0, so we cannot test that they are greater than 0. So simply test that version_status is set instead. Change-Id: Ia2ac15a18c4865bdd3501c2645f644ca210d1ee1 --- applications/message_handler/test/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/message_handler/test/main.cpp b/applications/message_handler/test/main.cpp index 0d88611..1c5e108 100644 --- a/applications/message_handler/test/main.cpp +++ b/applications/message_handler/test/main.cpp @@ -202,7 +202,7 @@ void testCapabilities(MessageClient client) { TEST_ASSERT(expected_rsp.custom_dma == rsp.custom_dma); #ifdef ETHOSU - TEST_ASSERT(rsp.version_major > 0 || rsp.version_minor > 0); + TEST_ASSERT(rsp.version_status > 0); TEST_ASSERT(rsp.product_major > 0); TEST_ASSERT(rsp.arch_major_rev > 0 || rsp.arch_minor_rev > 0 || rsp.arch_patch_rev > 0); TEST_ASSERT(rsp.driver_major_rev > 0 || rsp.driver_minor_rev > 0 || rsp.driver_patch_rev > 0); -- cgit v1.2.1