summaryrefslogtreecommitdiffstats
path: root/include/kunit (follow)
Commit message (Expand)AuthorAgeFilesLines
* kunit: Move kunit_abort() call out of kunit_do_failed_assertion()David Gow2023-06-011-8/+12
* kunit: Fix obsolete name in documentation headers (func->action)David Gow2023-06-011-4/+4
* kunit: Update kunit_print_ok_not_ok functionMichal Wajdeczko2023-05-261-0/+1
* kunit: kmalloc_array: Use kunit_add_action()David Gow2023-05-251-2/+8
* kunit: Add kunit_add_action() to defer a call until test exitDavid Gow2023-05-251-0/+92
* Documentation: kunit: Warn that exit functions run even if init failsDavid Gow2023-05-121-0/+3
* kunit: increase KUNIT_LOG_SIZE to 2048 bytesHeiko Carstens2023-03-301-1/+1
* kunit: Use gfp in kunit_alloc_resource() kernel-docStephen Boyd2023-03-171-1/+1
* kunit: fix bug of extra newline characters in debugfs logsRae Moar2023-03-101-1/+1
* kunit: fix bug in debugfs logs of parameterized testsRae Moar2023-03-101-1/+1
* kunit: Expose 'static stub' API to redirect functionsDavid Gow2023-02-082-0/+114
* kunit: Add "hooks" to call into KUnit when it's built as a moduleDavid Gow2023-02-081-18/+10
* kunit: fix kunit_test_init_section_suites(...)Brendan Higgins2023-01-311-1/+0
* kunit: fix bug in KUNIT_EXPECT_MEMEQRae Moar2023-01-301-2/+3
* kunit: add macro to allow conditionally exposing static symbols to testsRae Moar2022-12-121-0/+33
* kunit: Use the static key when retrieving the current testDavid Gow2022-12-121-3/+50
* kunit: Provide a static key to check if KUnit is actively running testsDavid Gow2022-12-121-0/+4
* kunit: remove KUNIT_INIT_MEM_ASSERTION macroDaniel Latypov2022-12-122-13/+6
* kunit: eliminate KUNIT_INIT_*_ASSERT_STRUCT macrosDaniel Latypov2022-12-122-60/+15
* kunit: Introduce KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ macrosMaĆ­ra Canal2022-10-272-0/+120
* kunit: declare kunit_assert structs as constDaniel Latypov2022-10-071-1/+1
* kunit: rename base KUNIT_ASSERTION macro to _KUNIT_FAILEDDaniel Latypov2022-10-071-58/+65
* kunit: remove format func from struct kunit_assert, get it to 0 bytesDaniel Latypov2022-10-072-28/+17
* kunit: make kunit_kfree() only work on pointers from kunit_malloc() and friendsDaniel Latypov2022-10-071-16/+0
* kunit: no longer call module_info(test, "Y") for kunit modulesJoe Fradley2022-09-301-1/+0
* kunit: add kunit.enable to enable/disable KUnit testJoe Fradley2022-09-301-0/+2
* kunit: fix assert_type for comparison macrosSander Vanheule2022-09-011-3/+3
* kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov2022-07-121-7/+6
* kunit: unify module and builtin suite definitionsJeremy Kerr2022-07-121-43/+6
* kunit: test.h: fix a kernel-doc markupMauro Carvalho Chehab2022-07-081-1/+1
* kunit: Taint the kernel when KUnit tests are runDavid Gow2022-07-021-1/+2
* kunit: take `kunit_assert` as `const`Miguel Ojeda2022-05-161-1/+1
* kunit: Rework kunit_resource allocation policyDavid Gow2022-05-121-27/+115
* kunit: add ability to specify suite-level init and exit functionsDaniel Latypov2022-05-021-0/+5
* kunit: add support for kunit_suites that reference init codeBrendan Higgins2022-04-271-0/+28
* kunit: split resource API from test.h into new resource.hDaniel Latypov2022-04-052-299/+322
* kunit: Introduce _NULL and _NOT_NULL macrosRicardo Ribalda2022-04-041-0/+84
* kunit: cleanup assertion macro internal variablesDaniel Latypov2022-01-311-5/+5
* kunit: factor out str constants from binary assertion structsDaniel Latypov2022-01-312-34/+35
* kunit: consolidate KUNIT_INIT_BINARY_ASSERT_STRUCT macrosDaniel Latypov2022-01-312-66/+22
* kunit: remove va_format from kunit_assertDaniel Latypov2022-01-311-30/+13
* kunit: decrease macro layering for EQ/NE assertsDaniel Latypov2022-01-251-124/+49
* kunit: decrease macro layering for integer assertsDaniel Latypov2022-01-251-148/+51
* kunit: reduce layering in string assertion macrosDaniel Latypov2022-01-251-48/+20
* kunit: drop unused intermediate macros for ptr inequality checksDaniel Latypov2022-01-251-60/+0
* kunit: make KUNIT_EXPECT_EQ() use KUNIT_EXPECT_EQ_MSG(), etc.Daniel Latypov2022-01-251-142/+26
* kunit: drop unused assert_type from kunit_assert and clean up macrosDaniel Latypov2022-01-252-43/+19
* kunit: split out part of kunit_assert into a static constDaniel Latypov2022-01-252-9/+28
* kunit: drop unused kunit* field in kunit_assertDaniel Latypov2022-01-252-41/+18
* kunit: move check if assertion passed into the macrosDaniel Latypov2022-01-251-10/+11