summaryrefslogtreecommitdiff
path: root/lib/kunit/test.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-14kunit: Reset suite counter right before running testsMichal Wajdeczko1-2/+2
2023-11-14kunit: Warn if tests are slowMaxime Ripard1-0/+38
2023-09-18kunit: Reset test status on each param iterationMichal Wajdeczko1-2/+4
2023-09-18kunit: Use string_stream for test logRichard Fitzgerald1-39/+5
2023-09-18kunit: string-stream: Decouple string_stream from kunitRichard Fitzgerald1-1/+1
2023-09-18kunit: string-stream: Add kunit_alloc_string_stream()Richard Fitzgerald1-2/+2
2023-09-05kunit: Fix wild-memory-access bug in kunit_free_suite_set()Jinjie Ruan1-1/+2
2023-08-08kunit: Allow kunit test modules to use test filteringJanusz Krzysztofik1-0/+17
2023-08-08kunit: Make 'list' action available to kunit test modulesJanusz Krzysztofik1-3/+15
2023-08-08kunit: Report the count of test suites in a moduleJanusz Krzysztofik1-1/+5
2023-07-26kunit: Add ability to filter attributesRae Moar1-3/+7
2023-07-26kunit: Add test attributes API structureRae Moar1-7/+10
2023-06-01kunit: Move kunit_abort() call out of kunit_do_failed_assertion()David Gow1-6/+4
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-25kunit: kmalloc_array: Use kunit_add_action()David Gow1-39/+9
2023-05-11kunit: Always run cleanup from a test kthreadDavid Gow1-8/+48
2023-03-10kunit: fix bug of extra newline characters in debugfs logsRae Moar1-0/+18
2023-03-10kunit: fix bug in the order of lines in debugfs logsRae Moar1-7/+14
2023-03-10kunit: fix bug in debugfs logs of parameterized testsRae Moar1-6/+12
2023-02-08kunit: Add printf attribute to fail_current_test_implDavid Gow1-1/+1
2023-02-08kunit: Add "hooks" to call into KUnit when it's built as a moduleDavid Gow1-8/+7
2023-01-20kunit: Export kunit_running()Arnd Bergmann1-0/+1
2022-12-12Merge tag 'linux-kselftest-kunit-next-6.2-rc1' of git://git.kernel.org/pub/sc...Linus Torvalds1-3/+12
2022-12-12kunit: improve KTAP compliance of KUnit test outputRae Moar1-3/+6
2022-12-12kunit: Provide a static key to check if KUnit is actively running testsDavid Gow1-0/+6
2022-10-18kunit: update NULL vs IS_ERR() testsDan Carpenter1-1/+1
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 Latypov1-2/+8
2022-10-07kunit: string-stream: Simplify resource useDavid Gow1-1/+1
2022-09-30kunit: add kunit.enable to enable/disable KUnit testJoe Fradley1-0/+24
2022-07-11kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov1-12/+6
2022-07-11kunit: unify module and builtin suite definitionsJeremy Kerr1-1/+51
2022-07-01kunit: Taint the kernel when KUnit tests are runDavid Gow1-0/+4
2022-05-16kunit: take `kunit_assert` as `const`Miguel Ojeda1-2/+2
2022-05-02kunit: add ability to specify suite-level init and exit functionsDaniel Latypov1-0/+17
2022-05-02kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite)Daniel Latypov1-4/+4
2022-04-04kunit: split resource API impl from test.c into new resource.cDaniel Latypov1-115/+1
2022-01-31kunit: remove va_format from kunit_assertDaniel Latypov1-5/+7
2022-01-25kunit: split out part of kunit_assert into a static constDaniel Latypov1-6/+9
2022-01-25kunit: factor out kunit_base_assert_format() call into kunit_fail()Daniel Latypov1-0/+1
2022-01-25kunit: move check if assertion passed into the macrosDaniel Latypov1-9/+4
2021-12-13kunit: Report test parameter results as (K)TAP subtestsDavid Gow1-3/+4
2021-12-13kunit: Don't crash if no parameters are generatedDavid Gow1-8/+10
2021-10-19kunit: Reset suite count after running testsDavid Gow1-2/+4
2021-08-13kunit: Print test statistics on failureDavid Gow1-0/+109
2021-07-02Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/...Linus Torvalds1-30/+47
2021-06-29kunit: make test->lock irq safeVlastimil Babka1-7/+11