aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Grohmann <davide.grohmann@arm.com>2022-08-22 14:06:16 +0200
committerDavide Grohmann <davide.grohmann@arm.com>2022-08-23 09:08:39 +0200
commitfc42c71353d15c564558249bd4f13350119ab6a9 (patch)
treeff33e217b4f232aabb34e5f782eee0eec74d8bc0
parent244a9b8514d066a457574b73ef82cc5925148fc2 (diff)
downloadethos-u-core-platform-fc42c71353d15c564558249bd4f13350119ab6a9.tar.gz
Fix wrong assertion in test for Ethos-U6522.08
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
-rw-r--r--applications/message_handler/test/main.cpp2
1 files changed, 1 insertions, 1 deletions
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);