]> Git Repo - linux.git/commitdiff
Merge tag 'linux_kselftest-kunit-6.12-rc1' of git://git.kernel.org/pub/scm/linux...
authorLinus Torvalds <[email protected]>
Tue, 17 Sep 2024 14:52:24 +0000 (16:52 +0200)
committerLinus Torvalds <[email protected]>
Tue, 17 Sep 2024 14:52:24 +0000 (16:52 +0200)
Pull kunit updates from Shuah Khan:

 - a new int_pow test suite

 - documentation update to clarify filename best practices

 - kernel-doc fix for EXPORT_SYMBOL_IF_KUNIT

 - change to build compile_commands.json automatically instead of
   requiring a manual build

* tag 'linux_kselftest-kunit-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  lib/math: Add int_pow test suite
  kunit: tool: Build compile_commands.json
  kunit: Fix kernel-doc for EXPORT_SYMBOL_IF_KUNIT
  Documentation: KUnit: Update filename best practices

1  2 
lib/Kconfig.debug

diff --combined lib/Kconfig.debug
index 26354671b37df6387198ed2c217d0b1f52182984,b5696659f0271929c43785df17c4b3503a96de36..074ca51b7ea5a0004ea1b7eb1177df9bfef76fbe
@@@ -97,7 -97,7 +97,7 @@@ config BOOT_PRINTK_DELA
          using "boot_delay=N".
  
          It is likely that you would also need to use "lpj=M" to preset
 -        the "loops per jiffie" value.
 +        the "loops per jiffy" value.
          See a previous boot log for the "lpj" value to use for your
          system, and then set "lpj=M" before setting "boot_delay=N".
          NOTE:  Using this option may adversely affect SMP systems.
@@@ -2173,14 -2173,6 +2173,14 @@@ config KCOV_IRQ_AREA_SIZ
          soft interrupts. This specifies the size of those areas in the
          number of unsigned long words.
  
 +config KCOV_SELFTEST
 +      bool "Perform short selftests on boot"
 +      depends on KCOV
 +      help
 +        Run short KCOV coverage collection selftests on boot.
 +        On test failure, causes the kernel to panic. Recommended to be
 +        enabled, ensuring critical functionality works as intended.
 +
  menuconfig RUNTIME_TESTING_MENU
        bool "Runtime Testing"
        default y
@@@ -3059,3 -3051,19 +3059,19 @@@ config RUST_KERNEL_DOCTEST
  endmenu # "Rust"
  
  endmenu # Kernel hacking
+ config INT_POW_TEST
+       tristate "Integer exponentiation (int_pow) test" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
+       help
+         This option enables the KUnit test suite for the int_pow function,
+         which performs integer exponentiation. The test suite is designed to
+         verify that the implementation of int_pow correctly computes the power
+         of a given base raised to a given exponent.
+         Enabling this option will include tests that check various scenarios
+         and edge cases to ensure the accuracy and reliability of the exponentiation
+         function.
+         If unsure, say N
This page took 0.069884 seconds and 4 git commands to generate.