index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
lib
/
kunit
Age
Commit message (
Expand
)
Author
Files
Lines
13 days
kunit: bail out early in __kunit_test_suites_init() if there are no suites to...
Scott Mayhew
1
-0
/
+3
13 days
kunit: string-stream-test: use KUNIT_DEFINE_ACTION_WRAPPER
Ivan Orlov
1
-10
/
+2
13 days
kunit: test: Move fault tests behind KUNIT_FAULT_TEST Kconfig option
David Gow
2
-4
/
+15
13 days
kunit: unregister the device on error
Wander Lairson Costa
1
-1
/
+1
13 days
kunit: Fix race condition in try-catch completion
David Gow
1
-3
/
+7
13 days
kunit: Add tests for fault
Mickaël Salaün
1
-1
/
+44
13 days
kunit: Print last test location on fault
Mickaël Salaün
1
-3
/
+7
13 days
kunit: Handle test faults
Mickaël Salaün
1
-7
/
+12
13 days
kunit: Fix timeout message
Mickaël Salaün
1
-1
/
+2
13 days
kunit: Fix kthread reference
Mickaël Salaün
1
-3
/
+6
13 days
kunit: Handle thread creation error
Mickaël Salaün
1
-0
/
+1
2024-02-27
kunit: test: Log the correct filter string in executor_test
David Gow
1
-1
/
+1
2024-02-27
kunit: Setup DMA masks on the kunit device
Maxime Ripard
1
-0
/
+4
2024-02-27
kunit: make kunit_bus_type const
Ricardo B. Marliere
1
-1
/
+1
2024-02-27
kunit: Mark filter* params as rw
Lucas De Marchi
1
-3
/
+3
2024-02-06
kunit: device: Unregister the kunit_bus on shutdown
David Gow
3
-0
/
+19
2024-01-22
kunit: run test suites only after module initialization completes
Marco Pagani
2
-3
/
+15
2024-01-22
kunit: device: Fix a NULL vs IS_ERR() check in init()
Dan Carpenter
1
-2
/
+2
2024-01-22
kunit: Fix a NULL vs IS_ERR() bug
Dan Carpenter
1
-1
/
+1
2024-01-03
kunit: Fix some comments which were mistakenly kerneldoc
David Gow
1
-3
/
+3
2024-01-03
kunit: Add example of kunit_activate_static_stub() with pointer-to-function
Richard Fitzgerald
1
-0
/
+35
2024-01-03
kunit: Fix NULL-dereference in kunit_init_suite() if suite->log is NULL
Richard Fitzgerald
1
-1
/
+3
2023-12-18
kunit: Reset test->priv after each param iteration
Michal Wajdeczko
1
-0
/
+1
2023-12-18
kunit: Add example for using test->priv
Michal Wajdeczko
1
-0
/
+15
2023-12-18
kunit: Add APIs for managing devices
davidgow@google.com
5
-2
/
+336
2023-12-18
kunit: add ability to run tests after boot using debugfs
Rae Moar
2
-0
/
+78
2023-12-18
kunit: add is_init test attribute
Rae Moar
2
-1
/
+65
2023-12-18
kunit: add example suite to test init suites
Rae Moar
1
-0
/
+37
2023-12-18
kunit: add KUNIT_INIT_TABLE to init linker section
Rae Moar
2
-13
/
+77
2023-12-18
kunit: debugfs: Handle errors from alloc_string_stream()
Richard Fitzgerald
1
-5
/
+25
2023-12-18
kunit: debugfs: Fix unchecked dereference in debugfs_print_results()
Richard Fitzgerald
1
-1
/
+3
2023-12-18
kunit: string-stream: Allow ERR_PTR to be passed to string_stream_destroy()
Richard Fitzgerald
1
-1
/
+1
2023-12-18
kunit: string-stream-test: Avoid cast warning when testing gfp_t flags
Richard Fitzgerald
1
-1
/
+1
2023-12-18
kunit: Add a macro to wrap a deferred action function
David Gow
2
-6
/
+5
2023-11-14
kunit: test: Avoid cast warning when adding kfree() as an action
Richard Fitzgerald
1
-1
/
+1
2023-11-14
kunit: Reset suite counter right before running tests
Michal Wajdeczko
1
-2
/
+2
2023-11-14
kunit: Warn if tests are slow
Maxime Ripard
1
-0
/
+38
2023-09-28
kunit: test: Fix the possible memory leak in executor_test
Jinjie Ruan
1
-14
/
+22
2023-09-28
kunit: Fix possible memory leak in kunit_filter_suites()
Jinjie Ruan
1
-4
/
+13
2023-09-28
kunit: Fix the wrong kfree of copy for kunit_filter_suites()
Jinjie Ruan
1
-1
/
+1
2023-09-28
kunit: Fix missed memory release in kunit_free_suite_set()
Jinjie Ruan
1
-1
/
+3
2023-09-18
kunit: Reset test status on each param iteration
Michal Wajdeczko
2
-4
/
+7
2023-09-18
kunit: string-stream: Test performance of string_stream
Richard Fitzgerald
1
-0
/
+54
2023-09-18
kunit: Use string_stream for test log
Richard Fitzgerald
3
-61
/
+75
2023-09-18
kunit: string-stream: Add tests for freeing resource-managed string_stream
Richard Fitzgerald
2
-5
/
+145
2023-09-18
kunit: string-stream: Decouple string_stream from kunit
Richard Fitzgerald
4
-24
/
+53
2023-09-18
kunit: string-stream: Add kunit_alloc_string_stream()
Richard Fitzgerald
4
-18
/
+29
2023-09-18
kunit: Don't use a managed alloc in is_literal()
Richard Fitzgerald
1
-8
/
+6
2023-09-18
kunit: string-stream-test: Add cases for string_stream newline appending
Richard Fitzgerald
1
-0
/
+93
2023-09-18
kunit: string-stream: Add option to make all lines end with newline
Richard Fitzgerald
2
-7
/
+28
2023-09-18
kunit: string-stream: Improve testing of string_stream
Richard Fitzgerald
1
-16
/
+217
2023-09-18
kunit: string-stream: Don't create a fragment for empty strings
Richard Fitzgerald
1
-2
/
+8
2023-09-05
kunit: Fix possible memory leak in kunit_filter_suites()
Jinjie Ruan
1
-2
/
+2
2023-09-05
kunit: Fix possible null-ptr-deref in kunit_parse_glob_filter()
Jinjie Ruan
1
-4
/
+19
2023-09-05
kunit: Fix the wrong err path and add goto labels in kunit_filter_suites()
Jinjie Ruan
1
-9
/
+12
2023-09-05
kunit: Fix wild-memory-access bug in kunit_free_suite_set()
Jinjie Ruan
1
-1
/
+2
2023-09-01
kunit: test: Make filter strings in executor_test writable
David Gow
1
-5
/
+8
2023-08-21
kunit: fix struct kunit_attr header
Rae Moar
1
-0
/
+2
2023-08-08
kunit: Allow kunit test modules to use test filtering
Janusz Krzysztofik
3
-27
/
+55
2023-08-08
kunit: Make 'list' action available to kunit test modules
Janusz Krzysztofik
2
-14
/
+32
2023-08-08
kunit: Report the count of test suites in a module
Janusz Krzysztofik
3
-32
/
+52
2023-08-04
kunit: fix uninitialized variables bug in attributes filtering
Rae Moar
3
-31
/
+29
2023-08-04
kunit: fix possible memory leak in kunit_filter_suites()
Ruan Jinjie
1
-5
/
+12
2023-07-31
kunit: fix wild-memory-access bug in kunit_filter_suites()
Ruan Jinjie
1
-1
/
+2
2023-07-26
kunit: add tests for filtering attributes
Rae Moar
1
-0
/
+116
2023-07-26
kunit: Add ability to filter attributes
Rae Moar
4
-28
/
+358
2023-07-26
kunit: Add module attribute
Rae Moar
1
-0
/
+25
2023-07-26
kunit: Add speed attribute
Rae Moar
2
-1
/
+52
2023-07-26
kunit: Add test attributes API structure
Rae Moar
4
-12
/
+109
2023-06-28
Merge tag 'mm-nonmm-stable-2023-06-24-19-23' of git://git.kernel.org/pub/scm/...
Linus Torvalds
1
-0
/
+1
2023-06-09
kunit: include debugfs header file
Arnd Bergmann
1
-0
/
+1
2023-06-01
kunit: Move kunit_abort() call out of kunit_do_failed_assertion()
David Gow
1
-6
/
+4
2023-05-26
kunit: Update kunit_print_ok_not_ok function
Michal Wajdeczko
1
-17
/
+28
2023-05-26
kunit: Fix reporting of the skipped parameterized tests
Michal Wajdeczko
1
-2
/
+4
2023-05-26
kunit/test: Add example test showing parameterized testing
Michal Wajdeczko
1
-0
/
+34
2023-05-25
kunit: kmalloc_array: Use kunit_add_action()
David Gow
1
-39
/
+9
2023-05-25
kunit: executor_test: Use kunit_add_action()
David Gow
1
-7
/
+4
2023-05-25
kunit: Add kunit_add_action() to defer a call until test exit
David Gow
2
-1
/
+186
2023-05-11
kunit: example: Provide example exit functions
David Gow
1
-0
/
+22
2023-05-11
kunit: Always run cleanup from a test kthread
David Gow
1
-8
/
+48
2023-04-05
kunit: add tests for using current KUnit test field
Rae Moar
1
-1
/
+41
2023-03-10
kunit: fix bug of extra newline characters in debugfs logs
Rae Moar
2
-12
/
+41
2023-03-10
kunit: fix bug in the order of lines in debugfs logs
Rae Moar
2
-9
/
+26
2023-03-10
kunit: fix bug in debugfs logs of parameterized tests
Rae Moar
1
-6
/
+12
2023-02-27
kunit: Fix 'hooks.o' build by recursing into kunit
David Gow
1
-1
/
+1
2023-02-08
kunit: Add printf attribute to fail_current_test_impl
David Gow
2
-2
/
+4
2023-02-08
kunit: Expose 'static stub' API to redirect functions
David Gow
4
-0
/
+164
2023-02-08
kunit: Add "hooks" to call into KUnit when it's built as a module
David Gow
4
-8
/
+58
2023-01-30
kunit: fix bug in KUNIT_EXPECT_MEMEQ
Rae Moar
1
-15
/
+25
2023-01-20
kunit: Export kunit_running()
Arnd Bergmann
1
-0
/
+1
2022-12-26
kunit: alloc_string_stream_fragment error handling bug fix
YoungJun.park
1
-1
/
+3
2022-12-12
Merge tag 'linux-kselftest-kunit-next-6.2-rc1' of git://git.kernel.org/pub/sc...
Linus Torvalds
6
-14
/
+83
2022-12-12
kunit: improve KTAP compliance of KUnit test output
Rae Moar
3
-7
/
+10
2022-12-12
kunit: Provide a static key to check if KUnit is actively running tests
David Gow
1
-0
/
+6
2022-10-27
kunit: remove unused structure definition
YoungJun.park
1
-5
/
+0
2022-10-27
kunit: Add KUnit memory block assertions to the example_all_expect_macros_test
Maíra Canal
1
-0
/
+7
2022-10-27
kunit: Introduce KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ macros
Maíra Canal
1
-0
/
+56
2022-10-27
kunit: log numbers in decimal and hex
Mark Rutland
1
-2
/
+4
2022-10-18
kunit: update NULL vs IS_ERR() tests
Dan Carpenter
2
-3
/
+3
2022-10-07
kunit: remove format func from struct kunit_assert, get it to 0 bytes
Daniel Latypov
1
-3
/
+4
2022-10-07
kunit: make kunit_kfree(NULL) a no-op to match kfree()
Daniel Latypov
1
-0
/
+3
2022-10-07
kunit: make kunit_kfree() not segfault on invalid inputs
Daniel Latypov
1
-12
/
+2
2022-10-07
kunit: make kunit_kfree() only work on pointers from kunit_malloc() and friends
Daniel Latypov
2
-2
/
+15
2022-10-07
kunit: drop test pointer in string_stream_fragment
Daniel Latypov
2
-6
/
+5
2022-10-07
kunit: string-stream: Simplify resource use
David Gow
3
-76
/
+18
2022-09-30
kunit: add kunit.enable to enable/disable KUnit test
Joe Fradley
3
-0
/
+39
2022-07-14
kunit: executor: Fix a memory leak on failure in kunit_filter_tests
David Gow
1
-1
/
+3
2022-07-11
kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suites
Daniel Latypov
3
-202
/
+75
2022-07-11
kunit: unify module and builtin suite definitions
Jeremy Kerr
1
-1
/
+51
2022-07-07
kunit: use kmemdup in kunit_filter_tests(), take suite as const
Daniel Latypov
1
-4
/
+2
2022-07-01
kunit: Taint the kernel when KUnit tests are run
David Gow
1
-0
/
+4
2022-05-17
kunit: fix executor OOM error handling logic on non-UML
Daniel Latypov
1
-4
/
+5
2022-05-16
kunit: take `kunit_assert` as `const`
Miguel Ojeda
1
-2
/
+2
2022-05-12
kunit: bail out of test filtering logic quicker if OOM
Daniel Latypov
2
-6
/
+25
2022-05-12
kunit: Rework kunit_resource allocation policy
David Gow
1
-57
/
+7
2022-05-02
kunit: fix debugfs code to use enum kunit_status, not bool
Daniel Latypov
1
-1
/
+1
2022-05-02
kunit: add ability to specify suite-level init and exit functions
Daniel Latypov
2
-0
/
+31
2022-05-02
kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite)
Daniel Latypov
1
-4
/
+4
2022-04-05
kunit: Make kunit_remove_resource() idempotent
David Gow
2
-2
/
+41
2022-04-04
kunit: split resource API impl from test.c into new resource.c
Daniel Latypov
3
-115
/
+127
2022-04-04
kunit: use NULL macros
Ricardo Ribalda
2
-1
/
+3
2022-03-23
Merge tag 'linux-kselftest-kunit-5.18-rc1' of git://git.kernel.org/pub/scm/li...
Linus Torvalds
3
-57
/
+100
2022-03-22
kunit: make kunit_test_timeout compatible with comment
Peng Liu
1
-1
/
+1
2022-03-22
kunit: fix UAF when run kfence test case test_gfpzero
Peng Liu
1
-0
/
+1
2022-01-31
kunit: factor out str constants from binary assertion structs
Daniel Latypov
1
-19
/
+19
2022-01-31
kunit: remove va_format from kunit_assert
Daniel Latypov
2
-16
/
+23
2022-01-25
kunit: split out part of kunit_assert into a static const
Daniel Latypov
2
-10
/
+14
2022-01-25
kunit: factor out kunit_base_assert_format() call into kunit_fail()
Daniel Latypov
2
-6
/
+1
2022-01-25
kunit: move check if assertion passed into the macros
Daniel Latypov
1
-9
/
+4
2022-01-25
kunit: add example test case showing off all the expect macros
Daniel Latypov
1
-0
/
+42
2022-01-17
Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-2
/
+2
2021-12-13
kunit: Report test parameter results as (K)TAP subtests
David Gow
1
-3
/
+4
2021-12-13
kunit: Don't crash if no parameters are generated
David Gow
1
-8
/
+10
2021-12-13
exit: Rename complete_and_exit to kthread_complete_and_exit
Eric W. Biederman
1
-2
/
+2
2021-10-19
kunit: Reset suite count after running tests
David Gow
1
-2
/
+4
2021-10-19
kunit: add 'kunit.action' param to allow listing out tests
Daniel Latypov
1
-5
/
+40
2021-10-19
kunit: fix too small allocation when using suite-only kunit.filter_glob
Daniel Latypov
2
-1
/
+2
2021-10-19
kunit: tool: allow filtering test cases via glob
Daniel Latypov
2
-24
/
+192
2021-10-19
kunit: drop assumption in kunit-log-test about current suite
Daniel Latypov
1
-6
/
+8
2021-10-01
kunit: fix reference count leak in kfree_at_end
Xiyu Yang
1
-2
/
+2
2021-09-03
Merge tag 'kbuild-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...
Linus Torvalds
1
-1
/
+1
2021-08-19
isystem: ship and use stdarg.h
Alexey Dobriyan
1
-1
/
+1
2021-08-13
kunit: Print test statistics on failure
David Gow
1
-0
/
+109
2021-07-02
Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/...
Linus Torvalds
7
-49
/
+295
2021-06-29
kunit: make test->lock irq safe
Vlastimil Babka
1
-7
/
+11
2021-06-25
kunit: add unit test for filtering suites by names
Daniel Latypov
2
-14
/
+152
2021-06-25
kunit: test: Add example tests which are always skipped
David Gow
1
-0
/
+31
2021-06-25
kunit: Support skipped tests
David Gow
3
-21
/
+77
2021-06-25
kunit: introduce kunit_kmalloc_array/kunit_kcalloc() helpers
Daniel Latypov
1
-10
/
+12
2021-06-23
kunit: Add gnu_printf specifiers
David Gow
1
-3
/
+3
2021-06-11
kunit: Add 'kunit_shutdown' option
David Gow
1
-0
/
+20
2021-06-11
kunit: Fix result propagation for parameterised tests
David Gow
1
-4
/
+3
2021-04-02
kunit: support failure from dynamic analysis tools
Uriel Guajardo
1
-4
/
+35
2021-04-02
kunit: tool: make --kunitconfig accept dirs, add lib/kunit fragment
Daniel Latypov
1
-0
/
+3
2021-04-02
kunit: make KUNIT_EXPECT_STREQ() quote values, don't print literals
Daniel Latypov
1
-6
/
+24
2021-03-23
kunit: Match parenthesis alignment to improve code readability
Lucas Stankus
1
-11
/
+20
2021-02-08
kunit: add kunit.filter_glob cmdline option to filter suites
Daniel Latypov
2
-9
/
+85
2021-02-08
kunit: don't show `1 == 1` in failed assertion messages
Daniel Latypov
1
-6
/
+33
2020-12-02
kunit: Support for Parameterized Testing
Arpitha Raghunandan
1
-13
/
+46
2020-10-18
Merge tag 'linux-kselftest-kunit-5.10-rc1' of git://git.kernel.org/pub/scm/li...
Linus Torvalds
3
-13
/
+46
2020-10-13
KUnit: KASAN Integration
Patricia Alfonso
1
-5
/
+8
2020-10-09
kunit: test: add test plan to KUnit TAP format
Brendan Higgins
2
-11
/
+17
2020-10-09
init: main: add KUnit to kernel init
Brendan Higgins
1
-3
/
+1
2020-10-09
kunit: test: create a single centralized executor for all tests
Alan Maguire
3
-2
/
+31
2020-06-26
kunit: add support for named resources
Alan Maguire
2
-0
/
+61
2020-06-26
kunit: generalize kunit_resource API beyond allocated resources
Alan Maguire
3
-99
/
+142
2020-06-01
kunit: default KUNIT_* fragments to KUNIT_ALL_TESTS
Anders Roxell
1
-3
/
+6
2020-06-01
kunit: Kconfig: enable a KUNIT_ALL_TESTS fragment
Anders Roxell
1
-0
/
+14
2020-04-23
kunit: Add missing newline in summary message
Marco Elver
1
-1
/
+1
2020-03-26
kunit: subtests should be indented 4 spaces according to TAP
Alan Maguire
2
-42
/
+44
2020-03-26
kunit: add log test
Alan Maguire
1
-1
/
+39
2020-03-26
kunit: add debugfs /sys/kernel/debug/kunit/<suite>/results display
Alan Maguire
6
-33
/
+276
2020-03-25
kunit: Always print actual pointer values in asserts
David Gow
1
-2
/
+2
2020-01-09
kunit: allow kunit to be loaded as a module
Alan Maguire
3
-2
/
+17
2020-01-09
kunit: remove timeout dependence on sysctl_hung_task_timeout_seconds
Alan Maguire
1
-18
/
+4
2020-01-09
kunit: allow kunit tests to be loaded as a module
Alan Maguire
8
-9
/
+34
2020-01-09
kunit: hide unexported try-catch interface in try-catch-impl.h
Alan Maguire
4
-12
/
+32
2020-01-09
kunit: move string-stream.h to lib/kunit
Alan Maguire
5
-2
/
+59
2019-09-30
kunit: fix failure to build without printk
Brendan Higgins
1
-51
/
+6
2019-09-30
kunit: test: add tests for KUnit managed resources
Avinash Kondareddy
1
-0
/
+228
2019-09-30
kunit: test: add the concept of assertions
Brendan Higgins
2
-6
/
+3
2019-09-30
kunit: test: add tests for kunit test abort
Brendan Higgins
2
-1
/
+108
2019-09-30
kunit: test: add support for test abort
Brendan Higgins
3
-16
/
+242
2019-09-30
kunit: test: add initial tests
Brendan Higgins
4
-0
/
+167
2019-09-30
kunit: test: add the concept of expectations
Brendan Higgins
1
-0
/
+62
2019-09-30
kunit: test: add assertion printing library
Brendan Higgins
2
-1
/
+143
2019-09-30
kunit: test: add string_stream a std::stream like string builder
Brendan Higgins
2
-1
/
+219
2019-09-30
kunit: test: add test resource management API
Brendan Higgins
1
-0
/
+163
2019-09-30
kunit: test: add KUnit test runner core
Brendan Higgins
3
-0
/
+205