summaryrefslogtreecommitdiffstats
path: root/include/kunit/test.h
Commit message (Expand)AuthorAgeFilesLines
* kunit: Move kunit_abort() call out of kunit_do_failed_assertion()David Gow2023-06-011-8/+12
* 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
* Documentation: kunit: Warn that exit functions run even if init failsDavid Gow2023-05-111-0/+3
* kunit: increase KUNIT_LOG_SIZE to 2048 bytesHeiko Carstens2023-03-291-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: 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: 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-121-6/+6
* kunit: eliminate KUNIT_INIT_*_ASSERT_STRUCT macrosDaniel Latypov2022-12-121-12/+15
* kunit: Introduce KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ macrosMaĆ­ra Canal2022-10-271-0/+87
* 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-071-6/+11
* 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-111-7/+6
* kunit: unify module and builtin suite definitionsJeremy Kerr2022-07-111-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-011-1/+2
* kunit: take `kunit_assert` as `const`Miguel Ojeda2022-05-161-1/+1
* 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-261-0/+28
* kunit: split resource API from test.h into new resource.hDaniel Latypov2022-04-041-299/+4
* 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-311-7/+13
* kunit: consolidate KUNIT_INIT_BINARY_ASSERT_STRUCT macrosDaniel Latypov2022-01-311-9/+11
* 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-251-9/+5
* kunit: split out part of kunit_assert into a static constDaniel Latypov2022-01-251-1/+11
* kunit: drop unused kunit* field in kunit_assertDaniel Latypov2022-01-251-9/+5
* kunit: move check if assertion passed into the macrosDaniel Latypov2022-01-251-10/+11
* include/kunit/test.h: replace kernel.h with the necessary inclusionsAndy Shevchenko2021-11-091-2/+11
* kunit: fix kernel-doc warnings due to mismatched arg namesDaniel Latypov2021-10-061-3/+3
* Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/...Linus Torvalds2021-07-021-14/+102
|\
| * kunit: Support skipped testsDavid Gow2021-06-251-6/+67
| * kunit: introduce kunit_kmalloc_array/kunit_kcalloc() helpersDaniel Latypov2021-06-251-4/+32
| * kunit: Add gnu_printf specifiersDavid Gow2021-06-231-1/+1
| * kunit: Assign strings to 'const char*' in STREQ assertionsDavid Gow2021-06-231-2/+2
| * kunit: Do not typecheck binary assertionsDavid Gow2021-06-231-1/+0
* | kunit: make test->lock irq safeVlastimil Babka2021-06-291-2/+3
|/
* kunit: Support for Parameterized TestingArpitha Raghunandan2020-12-021-0/+51