mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
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: Eric Biggers <ebiggers@kernel.org>
This commit is contained in:
parent
cdf22aeaad
commit
c13cee2fc7
3
lib/crc/.kunitconfig
Normal file
3
lib/crc/.kunitconfig
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
CONFIG_KUNIT=y
|
||||
CONFIG_CRC_ENABLE_ALL_FOR_KUNIT=y
|
||||
CONFIG_CRC_KUNIT_TEST=y
|
||||
Loading…
Reference in New Issue
Block a user