commit | bdb8b21d0547dd74c62af3ddc9b8e7670adcbe9f | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jun 10 18:25:40 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jun 10 18:25:40 2014 +0000 |
tree | 531b7f413c11b3441719b461b5260422f08bb1ed | |
parent | 2b8246fa755cf3e2828d702b6c27c2d238395fad [diff] | |
parent | 2aca7fe8214d9b4f421499a6f07579c888313649 [diff] |
Merge "AArch64: Fix memcmp16() test"
diff --git a/tests/string_test.cpp b/tests/string_test.cpp index c62f43b..67b3860 100644 --- a/tests/string_test.cpp +++ b/tests/string_test.cpp
@@ -812,7 +812,7 @@ int expected = (static_cast<unsigned short>(c1) - static_cast<unsigned short>(c2)); int actual = __memcmp16(state.ptr1, state.ptr2, (size_t) state.MAX_LEN); - ASSERT_EQ(expected, actual); + ASSERT_EQ(signum(expected), signum(actual)); } } #else // __BIONIC__