08 Dec, 2017
1 commit
-
Add a command which exercises the logging system.
Signed-off-by: Simon Glass
12 Jul, 2017
1 commit
-
Add a simple test to make sure that these functions obey the buffer size
passed into them.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Tested-by: Stephen Warren
21 May, 2015
3 commits
-
Unify the command for running unit tests further by moving the "ut_time"
command over to "ut time".Signed-off-by: Joe Hershberger
-
Add a command that all other unit tests should be a sub-command of.
Also include a command that will run all tests.Signed-off-by: Joe Hershberger
Acked-by: Simon Glass -
Separate the ability to define tests and assert status of test functions
from the dm tests so they can be used more consistently throughout all
tests.Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
07 May, 2015
1 commit
-
Sometimes the time functions are incorrect due to bad time support on a
board. Add a unit test which tries to detect this.Signed-off-by: Simon Glass
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
04 Sep, 2013
1 commit
-
This adds the "test_compression" command when building the sandbox. This
tests the existing compression and decompression routines for simple
sanity and for buffer overflow conditions.Signed-off-by: Kees Cook
Acked-by: Simon Glass
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
10 Aug, 2012
1 commit
-
Since run_command() and run_command_list() are important and a little
confusing, add some basic tests to check that the behaviour is correct.Note: I am not sure that this should be committed, nor where it should go
in the source tree. Comments welcome.To run the unit tests use the ut_cmd command available in sandbox:
make sandbox_config
make
./u-boot -c ut_cmd(To test both hush and built-in parsers, you need to manually change
CONFIG_SYS_HUSH_PARSER in include/configs/sandbox.h and build/run again)Signed-off-by: Simon Glass