Kconfig 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. menuconfig UNIT_TEST
  2. bool "Unit tests"
  3. help
  4. Select this to compile in unit tests for various parts of
  5. U-Boot. Test suites will be subcommands of the "ut" command.
  6. This does not require sandbox to be included, but it is most
  7. often used there.
  8. config UT_LIB
  9. bool "Unit tests for library functions"
  10. depends on UNIT_TEST
  11. default y
  12. help
  13. Enables the 'ut lib' command which tests library functions like
  14. memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
  15. if UT_LIB
  16. config UT_LIB_ASN1
  17. bool "Unit test for asn1 compiler and decoder function"
  18. default y
  19. imply ASYMMETRIC_KEY_TYPE
  20. imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
  21. imply X509_CERTIFICATE_PARSER
  22. imply PKCS7_MESSAGE_PARSER
  23. imply RSA_PUBLIC_KEY_PARSER
  24. help
  25. Enables a test which exercises asn1 compiler and decoder function
  26. via various parsers.
  27. endif
  28. config UT_TIME
  29. bool "Unit tests for time functions"
  30. depends on UNIT_TEST
  31. help
  32. Enables the 'ut time' command which tests that the time functions
  33. work correctly. The test is fairly simple and will not catch all
  34. problems. But if you are having problems with udelay() and the like,
  35. this is a good place to start.
  36. config UT_UNICODE
  37. bool "Unit tests for Unicode functions"
  38. depends on UNIT_TEST
  39. default y
  40. help
  41. Enables the 'ut unicode' command which tests that the functions for
  42. manipulating Unicode strings work correctly.
  43. source "test/dm/Kconfig"
  44. source "test/env/Kconfig"
  45. source "test/optee/Kconfig"
  46. source "test/overlay/Kconfig"