commit | a9a1b21ca9417fbc9886de14ff9e511308e672ea | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Thu Feb 09 09:15:04 2023 +0100 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Thu Feb 09 09:15:50 2023 +0100 |
tree | 5e6adccbde7b139e3668e45a0353f1d8298cea0b | |
parent | cced3521cbcb9e75cff305e796c194cce5e01715 [diff] [blame] |
Use ASSERT_COMPARE in test_suite_md Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/tests/include/test/macros.h b/tests/include/test/macros.h index 83a48cd..2eba0c1 100644 --- a/tests/include/test/macros.h +++ b/tests/include/test/macros.h
@@ -168,7 +168,7 @@ #define ASSERT_COMPARE(p1, size1, p2, size2) \ do \ { \ - TEST_ASSERT((size1) == (size2)); \ + TEST_EQUAL((size1), (size2)); \ if ((size1) != 0) \ TEST_ASSERT(memcmp((p1), (p2), (size1)) == 0); \ } \