summaryrefslogtreecommitdiff
path: root/lib/kunit
Commit message (Expand)AuthorAgeFilesLines
* kunit: update NULL vs IS_ERR() testsDan Carpenter2022-10-182-3/+3
* kunit: remove format func from struct kunit_assert, get it to 0 bytesDaniel Latypov2022-10-071-3/+4
* kunit: make kunit_kfree(NULL) a no-op to match kfree()Daniel Latypov2022-10-071-0/+3
* kunit: make kunit_kfree() not segfault on invalid inputsDaniel Latypov2022-10-071-12/+2
* kunit: make kunit_kfree() only work on pointers from kunit_malloc() and friendsDaniel Latypov2022-10-072-2/+15
* kunit: drop test pointer in string_stream_fragmentDaniel Latypov2022-10-072-6/+5
* kunit: string-stream: Simplify resource useDavid Gow2022-10-073-76/+18
* kunit: add kunit.enable to enable/disable KUnit testJoe Fradley2022-09-303-0/+39
* kunit: executor: Fix a memory leak on failure in kunit_filter_testsDavid Gow2022-07-141-1/+3
* kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov2022-07-113-202/+75
* kunit: unify module and builtin suite definitionsJeremy Kerr2022-07-111-1/+51
* kunit: use kmemdup in kunit_filter_tests(), take suite as constDaniel Latypov2022-07-071-4/+2
* kunit: Taint the kernel when KUnit tests are runDavid Gow2022-07-011-0/+4
* kunit: fix executor OOM error handling logic on non-UMLDaniel Latypov2022-05-171-4/+5
* kunit: take `kunit_assert` as `const`Miguel Ojeda2022-05-161-2/+2
* kunit: bail out of test filtering logic quicker if OOMDaniel Latypov2022-05-122-6/+25
* kunit: Rework kunit_resource allocation policyDavid Gow2022-05-121-57/+7
* kunit: fix debugfs code to use enum kunit_status, not boolDaniel Latypov2022-05-021-1/+1
* kunit: add ability to specify suite-level init and exit functionsDaniel Latypov2022-05-022-0/+31
* kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite)Daniel Latypov2022-05-021-4/+4
* kunit: Make kunit_remove_resource() idempotentDavid Gow2022-04-052-2/+41
* kunit: split resource API impl from test.c into new resource.cDaniel Latypov2022-04-043-115/+127
* kunit: use NULL macrosRicardo Ribalda2022-04-042-1/+3
* Merge tag 'linux-kselftest-kunit-5.18-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds2022-03-233-57/+100
|\
| * kunit: factor out str constants from binary assertion structsDaniel Latypov2022-01-311-19/+19
| * kunit: remove va_format from kunit_assertDaniel Latypov2022-01-312-16/+23
| * kunit: split out part of kunit_assert into a static constDaniel Latypov2022-01-252-10/+14
| * kunit: factor out kunit_base_assert_format() call into kunit_fail()Daniel Latypov2022-01-252-6/+1
| * kunit: move check if assertion passed into the macrosDaniel Latypov2022-01-251-9/+4
| * kunit: add example test case showing off all the expect macrosDaniel Latypov2022-01-251-0/+42
* | kunit: make kunit_test_timeout compatible with commentPeng Liu2022-03-221-1/+1
* | kunit: fix UAF when run kfence test case test_gfpzeroPeng Liu2022-03-221-0/+1
|/
* Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2022-01-171-2/+2
|\
| * exit: Rename complete_and_exit to kthread_complete_and_exitEric W. Biederman2021-12-131-2/+2
* | kunit: Report test parameter results as (K)TAP subtestsDavid Gow2021-12-131-3/+4
* | kunit: Don't crash if no parameters are generatedDavid Gow2021-12-131-8/+10
|/
* kunit: Reset suite count after running testsDavid Gow2021-10-191-2/+4
* kunit: add 'kunit.action' param to allow listing out testsDaniel Latypov2021-10-191-5/+40
* kunit: fix too small allocation when using suite-only kunit.filter_globDaniel Latypov2021-10-192-1/+2
* kunit: tool: allow filtering test cases via globDaniel Latypov2021-10-192-24/+192
* kunit: drop assumption in kunit-log-test about current suiteDaniel Latypov2021-10-191-6/+8
* kunit: fix reference count leak in kfree_at_endXiyu Yang2021-10-011-2/+2
* Merge tag 'kbuild-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds2021-09-031-1/+1
|\
| * isystem: ship and use stdarg.hAlexey Dobriyan2021-08-191-1/+1
* | kunit: Print test statistics on failureDavid Gow2021-08-131-0/+109
|/
* Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/...Linus Torvalds2021-07-027-49/+295
|\
| * kunit: add unit test for filtering suites by namesDaniel Latypov2021-06-252-14/+152
| * kunit: test: Add example tests which are always skippedDavid Gow2021-06-251-0/+31
| * kunit: Support skipped testsDavid Gow2021-06-253-21/+77
| * kunit: introduce kunit_kmalloc_array/kunit_kcalloc() helpersDaniel Latypov2021-06-251-10/+12