summaryrefslogtreecommitdiff
path: root/lib/kunit
AgeCommit message (Expand)AuthorFilesLines
2023-05-26kunit: Update kunit_print_ok_not_ok functionMichal Wajdeczko1-17/+28
2023-05-26kunit: Fix reporting of the skipped parameterized testsMichal Wajdeczko1-2/+4
2023-05-26kunit/test: Add example test showing parameterized testingMichal Wajdeczko1-0/+34
2023-05-25kunit: kmalloc_array: Use kunit_add_action()David Gow1-39/+9
2023-05-25kunit: executor_test: Use kunit_add_action()David Gow1-7/+4
2023-05-25kunit: Add kunit_add_action() to defer a call until test exitDavid Gow2-1/+186
2023-05-12kunit: example: Provide example exit functionsDavid Gow1-0/+22
2023-05-12kunit: Always run cleanup from a test kthreadDavid Gow1-8/+48
2023-04-05kunit: add tests for using current KUnit test fieldRae Moar1-1/+41
2023-03-10kunit: fix bug of extra newline characters in debugfs logsRae Moar2-12/+41
2023-03-10kunit: fix bug in the order of lines in debugfs logsRae Moar2-9/+26
2023-03-10kunit: fix bug in debugfs logs of parameterized testsRae Moar1-6/+12
2023-02-28kunit: Fix 'hooks.o' build by recursing into kunitDavid Gow1-1/+1
2023-02-09kunit: Add printf attribute to fail_current_test_implDavid Gow2-2/+4
2023-02-09kunit: Expose 'static stub' API to redirect functionsDavid Gow4-0/+164
2023-02-09kunit: Add "hooks" to call into KUnit when it's built as a moduleDavid Gow4-8/+58
2023-01-31kunit: fix bug in KUNIT_EXPECT_MEMEQRae Moar1-15/+25
2023-01-20kunit: Export kunit_running()Arnd Bergmann1-0/+1
2022-12-27kunit: alloc_string_stream_fragment error handling bug fixYoungJun.park1-1/+3
2022-12-13Merge tag 'linux-kselftest-kunit-next-6.2-rc1' of git://git.kernel.org/pub/sc...Linus Torvalds6-14/+83
2022-12-13kunit: improve KTAP compliance of KUnit test outputRae Moar3-7/+10
2022-12-13kunit: Provide a static key to check if KUnit is actively running testsDavid Gow1-0/+6
2022-10-27kunit: remove unused structure definitionYoungJun.park1-5/+0
2022-10-27kunit: Add KUnit memory block assertions to the example_all_expect_macros_testMaíra Canal1-0/+7
2022-10-27kunit: Introduce KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ macrosMaíra Canal1-0/+56
2022-10-27kunit: log numbers in decimal and hexMark Rutland1-2/+4
2022-10-19kunit: update NULL vs IS_ERR() testsDan Carpenter2-3/+3
2022-10-07kunit: remove format func from struct kunit_assert, get it to 0 bytesDaniel Latypov1-3/+4
2022-10-07kunit: make kunit_kfree(NULL) a no-op to match kfree()Daniel Latypov1-0/+3
2022-10-07kunit: make kunit_kfree() not segfault on invalid inputsDaniel Latypov1-12/+2
2022-10-07kunit: make kunit_kfree() only work on pointers from kunit_malloc() and friendsDaniel Latypov2-2/+15
2022-10-07kunit: drop test pointer in string_stream_fragmentDaniel Latypov2-6/+5
2022-10-07kunit: string-stream: Simplify resource useDavid Gow3-76/+18
2022-09-30kunit: add kunit.enable to enable/disable KUnit testJoe Fradley3-0/+39
2022-07-14kunit: executor: Fix a memory leak on failure in kunit_filter_testsDavid Gow1-1/+3
2022-07-12kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov3-202/+75
2022-07-12kunit: unify module and builtin suite definitionsJeremy Kerr1-1/+51
2022-07-08kunit: use kmemdup in kunit_filter_tests(), take suite as constDaniel Latypov1-4/+2
2022-07-02kunit: Taint the kernel when KUnit tests are runDavid Gow1-0/+4
2022-05-17kunit: fix executor OOM error handling logic on non-UMLDaniel Latypov1-4/+5
2022-05-16kunit: take `kunit_assert` as `const`Miguel Ojeda1-2/+2
2022-05-12kunit: bail out of test filtering logic quicker if OOMDaniel Latypov2-6/+25
2022-05-12kunit: Rework kunit_resource allocation policyDavid Gow1-57/+7
2022-05-02kunit: fix debugfs code to use enum kunit_status, not boolDaniel Latypov1-1/+1
2022-05-02kunit: add ability to specify suite-level init and exit functionsDaniel Latypov2-0/+31
2022-05-02kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite)Daniel Latypov1-4/+4
2022-04-05kunit: Make kunit_remove_resource() idempotentDavid Gow2-2/+41
2022-04-05kunit: split resource API impl from test.c into new resource.cDaniel Latypov3-115/+127
2022-04-04kunit: use NULL macrosRicardo Ribalda2-1/+3
2022-03-23Merge tag 'linux-kselftest-kunit-5.18-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds3-57/+100