commit | 3c30191c28fbc3172a092716791a973b9ec73dbb | [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:26:22 2023 +0100 |
tree | e219dc3d89ce6753aa81d602ae0dbd2dba8fb41a | |
parent | 54faadce7a2ada403bd8b48d61bc492a1d295aaf [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 2354205..95bca23 100644 --- a/tests/include/test/macros.h +++ b/tests/include/test/macros.h
@@ -179,7 +179,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); \ } \