diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-05 19:35:57 -0800 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-03-09 13:29:47 -0700 |
| commit | c13cee2fc7f137dd25ed50c63eddcc578624f204 (patch) | |
| tree | 09a9bd455cb89597a0d267acfa608f5b3eb06395 | |
| parent | cdf22aeaad8430905c3aa3b3d0f2686c65395c22 (diff) | |
| download | lwn-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/.kunitconfig | 3 |
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 |
