am bdb8b21d
: Merge "AArch64: Fix memcmp16() test"
* commit 'bdb8b21d0547dd74c62af3ddc9b8e7670adcbe9f': AArch64: Fix memcmp16() test
This commit is contained in:
commit
95f6cfc971
@ -812,7 +812,7 @@ TEST(string, __memcmp16) {
|
|||||||
int expected = (static_cast<unsigned short>(c1) - static_cast<unsigned short>(c2));
|
int expected = (static_cast<unsigned short>(c1) - static_cast<unsigned short>(c2));
|
||||||
int actual = __memcmp16(state.ptr1, state.ptr2, (size_t) state.MAX_LEN);
|
int actual = __memcmp16(state.ptr1, state.ptr2, (size_t) state.MAX_LEN);
|
||||||
|
|
||||||
ASSERT_EQ(expected, actual);
|
ASSERT_EQ(signum(expected), signum(actual));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else // __BIONIC__
|
#else // __BIONIC__
|
||||||
|
Loading…
Reference in New Issue
Block a user