blob: d71c332eee27cc51fcc839163a81ae64c241e130 [file] [log] [blame]
Joe Hershbergerfeb38472015-05-20 14:27:31 -05001menuconfig 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.
Joe Hershbergere721b882015-05-20 14:27:27 -05008
Joe Hershbergerc812f722015-05-20 14:27:30 -05009config UT_TIME
Simon Glass8271f5d2015-05-02 09:25:02 -060010 bool "Unit tests for time functions"
Joe Hershbergerfeb38472015-05-20 14:27:31 -050011 depends on UNIT_TEST
Simon Glass8271f5d2015-05-02 09:25:02 -060012 help
Joe Hershbergerc812f722015-05-20 14:27:30 -050013 Enables the 'ut time' command which tests that the time functions
Simon Glass8271f5d2015-05-02 09:25:02 -060014 work correctly. The test is fairly simple and will not catch all
15 problems. But if you are having problems with udelay() and the like,
16 this is a good place to start.
17
Simon Glass19679822015-02-05 21:41:37 -070018source "test/dm/Kconfig"
Joe Hershberger421f86f2015-05-20 14:27:36 -050019source "test/env/Kconfig"