summaryrefslogtreecommitdiffstats
path: root/include/kunit/test.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* kunit: fix display of failed expectations for stringsDaniel Latypov2020-11-101-1/+1
* kunit: test: fix remaining kernel-doc warningsMauro Carvalho Chehab2020-10-261-8/+8
* treewide: Convert macro and uses of __section(foo) to __section("foo")Joe Perches2020-10-251-1/+1
* Merge tag 'linux-kselftest-kunit-5.10-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds2020-10-181-22/+54
|\
| * init: main: add KUnit to kernel initBrendan Higgins2020-10-091-0/+9
| * kunit: test: create a single centralized executor for all testsAlan Maguire2020-10-091-22/+45
* | kunit: test.h: fix a bad kernel-doc markupMauro Carvalho Chehab2020-10-151-2/+2
* | kunit: test.h: solve kernel-doc warningsMauro Carvalho Chehab2020-10-151-3/+7
* | KUnit: KASAN IntegrationPatricia Alfonso2020-10-131-0/+5
|/
* kunit: add support for named resourcesAlan Maguire2020-06-261-0/+54
* kunit: generalize kunit_resource API beyond allocated resourcesAlan Maguire2020-06-261-30/+126
* Documentation: test.h - fix warningsLothar Rubusch2020-05-221-6/+6
* kunit: subtests should be indented 4 spaces according to TAPAlan Maguire2020-03-261-1/+10