diff options
| author | Ryota Sakamoto <sakamo.ryota@gmail.com> | 2026-02-23 09:23:24 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-02-24 10:41:51 +0300 |
| commit | bc47b2e823914966c15a09422f8fc3aa98d34c1b (patch) | |
| tree | e212ea7b0784203fbdf6f03811c44cceb9c12991 | |
| parent | ecfa23b486b22844855844202424bc1966cebb33 (diff) | |
| download | linux-bc47b2e823914966c15a09422f8fc3aa98d34c1b.tar.xz | |
time/kunit: Add .kunitconfig
Add .kunitconfig file to the time directory to enable easy execution of
KUnit tests.
With the .kunitconfig, developers can run the tests:
$ ./tools/testing/kunit/kunit.py run --kunitconfig kernel/time
Also, add the new .kunitconfig file to the TIMEKEEPING section in the
MAINTAINERS file.
Signed-off-by: Ryota Sakamoto <sakamo.ryota@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260223-add-time-kunitconfig-v1-1-1801eeb33ece@gmail.com
| -rw-r--r-- | MAINTAINERS | 1 | ||||
| -rw-r--r-- | kernel/time/.kunitconfig | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 55af015174a5..22ec64b1a7cc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -26618,6 +26618,7 @@ F: include/linux/timekeeping.h F: include/linux/timex.h F: include/uapi/linux/time.h F: include/uapi/linux/timex.h +F: kernel/time/.kunitconfig F: kernel/time/alarmtimer.c F: kernel/time/clocksource* F: kernel/time/ntp* diff --git a/kernel/time/.kunitconfig b/kernel/time/.kunitconfig new file mode 100644 index 000000000000..d60a611b2853 --- /dev/null +++ b/kernel/time/.kunitconfig @@ -0,0 +1,2 @@ +CONFIG_KUNIT=y +CONFIG_TIME_KUNIT_TEST=y |
