0aac10f2 | 25-Nov-2017 |
Simon Glass <sjg@chromium.org> |
test: compression: Convert to unit test framework
Adjust this test to use the unit test framework. Drop the two existing commands for running the tests and replace them with a single 'ut compression
test: compression: Convert to unit test framework
Adjust this test to use the unit test framework. Drop the two existing commands for running the tests and replace them with a single 'ut compression' command, with sub-commands.
Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Continue to have ret = run_test_internal(...) in run_test so ret is always initialized] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
6fb2f579 | 18-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: core: Run tests with both livetree and flat tree
Some tests require either livetree or flat tree. Add flags to allow the tests to specify this. Adjust the test runner to run with livetree (if su
dm: core: Run tests with both livetree and flat tree
Some tests require either livetree or flat tree. Add flags to allow the tests to specify this. Adjust the test runner to run with livetree (if supported) and then flat tree.
Some video tests are quite slow and running on flat tree adds little extra test value, so run these on livetree only.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
fe3f6a65 | 20-May-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
test: Return values from the asserts compatible with cmds
The asserts are sometimes called from the context of the test command itself so make sure that a return that happens as a result of a failur
test: Return values from the asserts compatible with cmds
The asserts are sometimes called from the context of the test command itself so make sure that a return that happens as a result of a failure is compatible with that command return. When called within a test, the return value is ignored.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
c617ede0 | 20-May-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
test: Add a common unit test command
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 <joe.hershber
test: Add a common unit test command
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 <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|