summaryrefslogtreecommitdiffstats
path: root/include/kunit/test.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* kunit: add debugfs /sys/kernel/debug/kunit/<suite>/results displayAlan Maguire2020-03-261-8/+46
* kunit: allow kunit tests to be loaded as a moduleAlan Maguire2020-01-091-10/+27
* kunit: fix failure to build without printkBrendan Higgins2019-09-301-3/+2
* kunit: test: add the concept of assertionsBrendan Higgins2019-09-301-2/+280
* kunit: test: add support for test abortBrendan Higgins2019-09-301-0/+2
* kunit: test: add the concept of expectationsBrendan Higgins2019-09-301-0/+836