History log of /fuchsia/zircon/kernel/lib/libc/string/arch/x86/tests.cpp
Revision Date Author Comments
# b58bad29 04-Apr-2018 Nick Maniscalco <maniscalco@google.com>

[kernel] Move unittest.h to include/lib/unittest/

Move unittest.h deeper in the tree so include statements will say:

Change-Id: I85cb027a53530cd2003d813f004aaea3509f9f40


# 55f571e0 05-Mar-2018 Mark Seaborn <mseaborn@google.com>

[kernel][unittest] Remove unused "void* context" argument from test cases

This argument is always NULL.

This argument was part of an init/cleanup feature that was unused and
that was removed.

Change-Id: I997a268be10c6837b2d7529fb92c2df2e3bab814


# b7def50e 28-Feb-2018 Mark Seaborn <mseaborn@google.com>

[kernel][unittest] Remove unused init/cleanup function parameters

None of the in-kernel test cases provide init or cleanup functions.
They all pass NULL to UNITTEST_END_TESTCASE() for those parameters, so
we can remove those parameters. Note that unittest.c wasn't actually
using the cleanup function.

Change-Id: I0332bc5c870deec8a021f543ec2c31ef95c30d0f


# 3e81de2e 28-Feb-2018 Mark Seaborn <mseaborn@google.com>

[kernel][unittest] Rename REQUIRE_* to ASSERT_* to match userland's unittest.h

This is also more consistent with gtest.

Change-Id: Ic39e75c41a55ca5cba2d09cb920c7cd1c1c7a899


# 412e4469 27-Dec-2017 Todd Eisenberger <teisenbe@google.com>

[kernel][libc] Select x86 memcpy/memset implementation at boot

This allows us to make use of ERMS on devices that support it, and
fallback to something more performant otherwise.

ZX-1395 #comment Done for kernel-mode
ZX-1346 #comment This provides runtime selection for memcpy/memset

Change-Id: I96e8ca96e17a677ffa95c59cd36682cb16f2904b