summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-03-05 19:35:57 -0800
committerEric Biggers <ebiggers@kernel.org>2026-03-09 13:29:47 -0700
commitc13cee2fc7f137dd25ed50c63eddcc578624f204 (patch)
tree09a9bd455cb89597a0d267acfa608f5b3eb06395
parentcdf22aeaad8430905c3aa3b3d0f2686c65395c22 (diff)
downloadlwn-c13cee2fc7f137dd25ed50c63eddcc578624f204.tar.gz
lwn-c13cee2fc7f137dd25ed50c63eddcc578624f204.zip
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>
-rw-r--r--lib/crc/.kunitconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/crc/.kunitconfig b/lib/crc/.kunitconfig
new file mode 100644
index 000000000000..0a3671ba573f
--- /dev/null
+++ b/lib/crc/.kunitconfig
@@ -0,0 +1,3 @@
+CONFIG_KUNIT=y
+CONFIG_CRC_ENABLE_ALL_FOR_KUNIT=y
+CONFIG_CRC_KUNIT_TEST=y