summaryrefslogtreecommitdiff
path: root/include/kunit/test.h
AgeCommit message (Expand)AuthorFilesLines
2023-06-01kunit: Move kunit_abort() call out of kunit_do_failed_assertion()David Gow1-8/+12
2023-05-26kunit: Update kunit_print_ok_not_ok functionMichal Wajdeczko1-0/+1
2023-05-25kunit: kmalloc_array: Use kunit_add_action()David Gow1-2/+8
2023-05-12Documentation: kunit: Warn that exit functions run even if init failsDavid Gow1-0/+3
2023-03-30kunit: increase KUNIT_LOG_SIZE to 2048 bytesHeiko Carstens1-1/+1
2023-03-10kunit: fix bug of extra newline characters in debugfs logsRae Moar1-1/+1
2023-03-10kunit: fix bug in debugfs logs of parameterized testsRae Moar1-1/+1
2023-01-31kunit: fix kunit_test_init_section_suites(...)Brendan Higgins1-1/+0
2023-01-31kunit: fix bug in KUNIT_EXPECT_MEMEQRae Moar1-2/+3
2022-12-13kunit: Provide a static key to check if KUnit is actively running testsDavid Gow1-0/+4
2022-12-13kunit: remove KUNIT_INIT_MEM_ASSERTION macroDaniel Latypov1-6/+6
2022-12-13kunit: eliminate KUNIT_INIT_*_ASSERT_STRUCT macrosDaniel Latypov1-12/+15
2022-10-27kunit: Introduce KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ macrosMaĆ­ra Canal1-0/+87
2022-10-07kunit: declare kunit_assert structs as constDaniel Latypov1-1/+1
2022-10-07kunit: rename base KUNIT_ASSERTION macro to _KUNIT_FAILEDDaniel Latypov1-58/+65
2022-10-07kunit: remove format func from struct kunit_assert, get it to 0 bytesDaniel Latypov1-6/+11
2022-09-30kunit: no longer call module_info(test, "Y") for kunit modulesJoe Fradley1-1/+0
2022-09-30kunit: add kunit.enable to enable/disable KUnit testJoe Fradley1-0/+2
2022-09-01kunit: fix assert_type for comparison macrosSander Vanheule1-3/+3
2022-07-12kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov1-7/+6
2022-07-12kunit: unify module and builtin suite definitionsJeremy Kerr1-43/+6
2022-07-08kunit: test.h: fix a kernel-doc markupMauro Carvalho Chehab1-1/+1
2022-07-02kunit: Taint the kernel when KUnit tests are runDavid Gow1-1/+2
2022-05-16kunit: take `kunit_assert` as `const`Miguel Ojeda1-1/+1
2022-05-02kunit: add ability to specify suite-level init and exit functionsDaniel Latypov1-0/+5
2022-04-27kunit: add support for kunit_suites that reference init codeBrendan Higgins1-0/+28
2022-04-05kunit: split resource API from test.h into new resource.hDaniel Latypov1-299/+4
2022-04-04kunit: Introduce _NULL and _NOT_NULL macrosRicardo Ribalda1-0/+84
2022-01-31kunit: cleanup assertion macro internal variablesDaniel Latypov1-5/+5
2022-01-31kunit: factor out str constants from binary assertion structsDaniel Latypov1-7/+13
2022-01-31kunit: consolidate KUNIT_INIT_BINARY_ASSERT_STRUCT macrosDaniel Latypov1-9/+11
2022-01-25kunit: decrease macro layering for EQ/NE assertsDaniel Latypov1-124/+49
2022-01-25kunit: decrease macro layering for integer assertsDaniel Latypov1-148/+51
2022-01-25kunit: reduce layering in string assertion macrosDaniel Latypov1-48/+20
2022-01-25kunit: drop unused intermediate macros for ptr inequality checksDaniel Latypov1-60/+0
2022-01-25kunit: make KUNIT_EXPECT_EQ() use KUNIT_EXPECT_EQ_MSG(), etc.Daniel Latypov1-142/+26
2022-01-25kunit: drop unused assert_type from kunit_assert and clean up macrosDaniel Latypov1-9/+5
2022-01-25kunit: split out part of kunit_assert into a static constDaniel Latypov1-1/+11
2022-01-25kunit: drop unused kunit* field in kunit_assertDaniel Latypov1-9/+5
2022-01-25kunit: move check if assertion passed into the macrosDaniel Latypov1-10/+11
2021-11-09include/kunit/test.h: replace kernel.h with the necessary inclusionsAndy Shevchenko1-2/+11
2021-10-07kunit: fix kernel-doc warnings due to mismatched arg namesDaniel Latypov1-3/+3
2021-07-02Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/...Linus Torvalds1-14/+102
2021-06-29kunit: make test->lock irq safeVlastimil Babka1-2/+3
2021-06-25kunit: Support skipped testsDavid Gow1-6/+67
2021-06-25kunit: introduce kunit_kmalloc_array/kunit_kcalloc() helpersDaniel Latypov1-4/+32
2021-06-24kunit: Add gnu_printf specifiersDavid Gow1-1/+1
2021-06-24kunit: Assign strings to 'const char*' in STREQ assertionsDavid Gow1-2/+2
2021-06-24kunit: Do not typecheck binary assertionsDavid Gow1-1/+0
2020-12-03kunit: Support for Parameterized TestingArpitha Raghunandan1-0/+51