summaryrefslogtreecommitdiff
path: root/lib/kunit
Commit message (Expand)AuthorAgeFilesLines
* kunit: add tests for using current KUnit test fieldRae Moar2023-04-051-1/+41
* kunit: fix bug of extra newline characters in debugfs logsRae Moar2023-03-102-12/+41
* kunit: fix bug in the order of lines in debugfs logsRae Moar2023-03-102-9/+26
* kunit: fix bug in debugfs logs of parameterized testsRae Moar2023-03-101-6/+12
* kunit: Fix 'hooks.o' build by recursing into kunitDavid Gow2023-02-271-1/+1
* kunit: Add printf attribute to fail_current_test_implDavid Gow2023-02-082-2/+4
* kunit: Expose 'static stub' API to redirect functionsDavid Gow2023-02-084-0/+164
* kunit: Add "hooks" to call into KUnit when it's built as a moduleDavid Gow2023-02-084-8/+58
* kunit: fix bug in KUNIT_EXPECT_MEMEQRae Moar2023-01-301-15/+25
* kunit: Export kunit_running()Arnd Bergmann2023-01-201-0/+1
* kunit: alloc_string_stream_fragment error handling bug fixYoungJun.park2022-12-261-1/+3
* Merge tag 'linux-kselftest-kunit-next-6.2-rc1' of git://git.kernel.org/pub/sc...Linus Torvalds2022-12-126-14/+83
|\
| * kunit: improve KTAP compliance of KUnit test outputRae Moar2022-12-123-7/+10
| * kunit: Provide a static key to check if KUnit is actively running testsDavid Gow2022-12-121-0/+6
| * kunit: remove unused structure definitionYoungJun.park2022-10-271-5/+0
| * kunit: Add KUnit memory block assertions to the example_all_expect_macros_testMaíra Canal2022-10-271-0/+7
| * kunit: Introduce KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ macrosMaíra Canal2022-10-271-0/+56
| * kunit: log numbers in decimal and hexMark Rutland2022-10-271-2/+4
* | 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
|/