Commit c13cee2f authored by Eric Biggers's avatar Eric Biggers
Browse files

lib/crc: tests: Add a .kunitconfig file

Add a .kunitconfig file to the lib/crc/ directory so that the CRC
library tests can be run more easily using kunit.py.  Example with UML:

    tools/testing/kunit/kunit.py run --kunitconfig=lib/crc

Example with QEMU:

    tools/testing/kunit/kunit.py run --kunitconfig=lib/crc --arch=arm64 --make_options LLVM=1

Link: https://lore.kernel.org/r/20260306033557.250499-4-ebiggers@kernel.org


Signed-off-by: default avatarEric Biggers <ebiggers@kernel.org>
parent cdf22aea
Loading
Loading
Loading
Loading

lib/crc/.kunitconfig

0 → 100644
+3 −0
Original line number Diff line number Diff line
CONFIG_KUNIT=y
CONFIG_CRC_ENABLE_ALL_FOR_KUNIT=y
CONFIG_CRC_KUNIT_TEST=y