summaryrefslogtreecommitdiff
path: root/lib/kunit
AgeCommit message (Expand)AuthorFilesLines
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
2022-03-23kunit: make kunit_test_timeout compatible with commentPeng Liu1-1/+1
2022-03-23kunit: fix UAF when run kfence test case test_gfpzeroPeng Liu1-0/+1
2022-01-31kunit: factor out str constants from binary assertion structsDaniel Latypov1-19/+19
2022-01-31kunit: remove va_format from kunit_assertDaniel Latypov2-16/+23
2022-01-25kunit: split out part of kunit_assert into a static constDaniel Latypov2-10/+14
2022-01-25kunit: factor out kunit_base_assert_format() call into kunit_fail()Daniel Latypov2-6/+1
2022-01-25kunit: move check if assertion passed into the macrosDaniel Latypov1-9/+4
2022-01-25kunit: add example test case showing off all the expect macrosDaniel Latypov1-0/+42
2022-01-17Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
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-12-13exit: Rename complete_and_exit to kthread_complete_and_exitEric W. Biederman1-2/+2
2021-10-19kunit: Reset suite count after running testsDavid Gow1-2/+4
2021-10-19kunit: add 'kunit.action' param to allow listing out testsDaniel Latypov1-5/+40
2021-10-19kunit: fix too small allocation when using suite-only kunit.filter_globDaniel Latypov2-1/+2
2021-10-19kunit: tool: allow filtering test cases via globDaniel Latypov2-24/+192
2021-10-19kunit: drop assumption in kunit-log-test about current suiteDaniel Latypov1-6/+8
2021-10-01kunit: fix reference count leak in kfree_at_endXiyu Yang1-2/+2