summaryrefslogtreecommitdiff
path: root/lib/kunit
AgeCommit message (Expand)AuthorFilesLines
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-11kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov3-202/+75
2022-07-11kunit: unify module and builtin suite definitionsJeremy Kerr1-1/+51
2022-07-07kunit: use kmemdup in kunit_filter_tests(), take suite as constDaniel Latypov1-4/+2
2022-07-01kunit: 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-04kunit: 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-22kunit: make kunit_test_timeout compatible with commentPeng Liu1-1/+1
2022-03-22kunit: 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
2021-09-03Merge tag 'kbuild-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-1/+1
2021-08-19isystem: ship and use stdarg.hAlexey Dobriyan1-1/+1
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 Torvalds7-49/+295
2021-06-29kunit: make test->lock irq safeVlastimil Babka1-7/+11
2021-06-25kunit: add unit test for filtering suites by namesDaniel Latypov2-14/+152
2021-06-25kunit: test: Add example tests which are always skippedDavid Gow1-0/+31
2021-06-25kunit: Support skipped testsDavid Gow3-21/+77
2021-06-25kunit: introduce kunit_kmalloc_array/kunit_kcalloc() helpersDaniel Latypov1-10/+12
2021-06-23kunit: Add gnu_printf specifiersDavid Gow1-3/+3
2021-06-11kunit: Add 'kunit_shutdown' optionDavid Gow1-0/+20
2021-06-11kunit: Fix result propagation for parameterised testsDavid Gow1-4/+3