Code

History

Commits on v6.2 to include/kunit35+
  1. kunit: fix kunit_test_init_section_suites(...)Brendan Higgins committed 3 years ago254c713
  2. kunit: fix bug in KUNIT_EXPECT_MEMEQRae Moar committed 3 years agodd2f0a0
  3. kunit: add macro to allow conditionally exposing static symbols to testsRae Moar committed 3 years ago9c988fa
  4. kunit: Use the static key when retrieving the current testDavid Gow committed 3 years ago91e9359
  5. kunit: Provide a static key to check if KUnit is actively running testsDavid Gow committed 3 years ago908d0c1
  6. kunit: remove KUNIT_INIT_MEM_ASSERTION macroDaniel Latypov committed 4 years ago34c68f4
  7. kunit: eliminate KUNIT_INIT_*_ASSERT_STRUCT macrosDaniel Latypov committed 4 years ago697365c
  8. kunit: Introduce KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ macrosMaíra Canal committed 4 years agob8a926b
  9. kunit: declare kunit_assert structs as constDaniel Latypov committed 4 years agoc1144e0
  10. kunit: rename base KUNIT_ASSERTION macro to _KUNIT_FAILEDDaniel Latypov committed 4 years ago97d453b
  11. kunit: remove format func from struct kunit_assert, get it to 0 bytesDaniel Latypov committed 4 years agoa8495ad
  12. kunit: make kunit_kfree() only work on pointers from kunit_malloc() and friendsDaniel Latypov committed 4 years ago047a8a0
  13. kunit: no longer call module_info(test, "Y") for kunit modulesJoe Fradley committed 4 years ago7d97635
  14. kunit: add kunit.enable to enable/disable KUnit testJoe Fradley committed 4 years agod20a6ba
  15. kunit: fix assert_type for comparison macrosSander Vanheule committed 4 years agoaded3ca
  16. kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov committed 4 years agoe5857d3
  17. kunit: unify module and builtin suite definitionsJeremy Kerr committed 4 years ago3d6e446
  18. kunit: test.h: fix a kernel-doc markupMauro Carvalho Chehab committed 4 years ago7b23794
  19. kunit: Taint the kernel when KUnit tests are runDavid Gow committed 4 years agoc272612
  20. kunit: take `kunit_assert` as `const`Miguel Ojeda committed 4 years ago7466886
  21. kunit: Rework kunit_resource allocation policyDavid Gow committed 4 years agoad69172
  22. kunit: add ability to specify suite-level init and exit functionsDaniel Latypov committed 4 years ago1cdba21
  23. kunit: add support for kunit_suites that reference init codeBrendan Higgins committed 4 years ago9bf2eed
  24. kunit: split resource API from test.h into new resource.hDaniel Latypov committed 4 years ago61695f8
  25. kunit: Introduce _NULL and _NOT_NULL macrosRicardo Ribalda committed 4 years agocaae945
  26. kunit: cleanup assertion macro internal variablesDaniel Latypov committed 4 years agoc274145
  27. kunit: factor out str constants from binary assertion structsDaniel Latypov committed 4 years ago2b6861e
  28. kunit: consolidate KUNIT_INIT_BINARY_ASSERT_STRUCT macrosDaniel Latypov committed 4 years ago064ff29
  29. kunit: remove va_format from kunit_assertDaniel Latypov committed 4 years ago6419abb
  30. kunit: decrease macro layering for EQ/NE assertsDaniel Latypov committed 4 years ago6125a5c
  31. kunit: decrease macro layering for integer assertsDaniel Latypov committed 4 years ago40f3977
  32. kunit: reduce layering in string assertion macrosDaniel Latypov committed 4 years ago955df7d
  33. kunit: drop unused intermediate macros for ptr inequality checksDaniel Latypov committed 4 years agoc585590
  34. kunit: make KUNIT_EXPECT_EQ() use KUNIT_EXPECT_EQ_MSG(), etc.Daniel Latypov committed 4 years ago6709d0f
  35. kunit: drop unused assert_type from kunit_assert and clean up macrosDaniel Latypov committed 4 years ago05a7da8