]> git.sur5r.net Git - u-boot/commit
test: Record and silence console in tests
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:47:50 +0000 (23:47 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:51 +0000 (20:27 -0700)
commit9ce8b40206f4f96de6164c2a0c0a725c9323c4b9
tree97b5a359149976a31ca4e5b273ea945dd62280b1
parent61b4d3558e9236ee9554a0da65f8ce139cbd3560
test: Record and silence console in tests

When running sandbox tests, silence the console to avoid unwanted output.
Also, record the console in case tests want to check it.

The -v option can be used to enable stdout during tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/state.h
test/dm/test-main.c
test/ut.c