summaryrefslogtreecommitdiffstats
path: root/include/kunit
Commit message (Expand)AuthorAgeFilesLines
* 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-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: 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-261-0/+28
* kunit: split resource API from test.h into new resource.hDaniel Latypov2022-04-042-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
* kunit: replace kernel.h with the necessary inclusionsAndy Shevchenko2022-01-201-1/+1
* 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: fix -Wunused-function warning for __kunit_fail_current_testDaniel Latypov2021-04-061-2/+2
* kunit: support failure from dynamic analysis toolsUriel Guajardo2021-04-021-0/+29
* kunit: Support for Parameterized TestingArpitha Raghunandan2020-12-021-0/+51
* kunit: fix display of failed expectations for stringsDaniel Latypov2020-11-101-1/+1