
From: Simon Glass <sjg@chromium.org> Pytest shows about 10 lines of output of limited merit at the top. Use the -q flag to request that it doesn't so that the actionable things are more visible. Signed-off-by: Simon Glass <sjg@chromium.org> --- test/run | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/run b/test/run index c48f08e0844..1f60fc8fb61 100755 --- a/test/run +++ b/test/run @@ -13,6 +13,8 @@ run_test() { [ $? -ne 0 ] && failures=$((failures+1)) } +quiet=-q + # Clean up things the Makefile created unset MAKE MAKEFLAGS MAKELEVEL MAKEOVERRIDES MAKE_TERMERR MAKE_TERMOUT @@ -49,24 +51,24 @@ if [ -z "$tools_only" ]; then # Run all tests that the standard sandbox build can support echo "${prompt}" run_test "sandbox" ./test/py/test.py --bd sandbox --build ${para} \ - -k "${mark_expr}" + ${quiet} -k "${mark_expr}" # Run tests which require sandbox_spl echo "${prompt}" run_test "sandbox_spl" ./test/py/test.py --bd sandbox_spl \ - --build ${para} \ + --build ${para} ${quiet} \ -k 'test_ofplatdata or test_handoff or test_spl' # Run the same tests with sandbox_noinst (i.e. without OF_PLATDATA_INST) echo "${prompt}" run_test "sandbox_noinst" ./test/py/test.py --bd sandbox_noinst \ - --build ${para} \ + --build ${para} ${quiet} \ -k 'test_ofplatdata or test_handoff or test_spl' # Run tests which require sandbox_vpl echo "${prompt}" run_test "sandbox_vpl" ./test/py/test.py --bd sandbox_vpl \ - --build ${para} \ + --build ${para} ${quiet} \ -k 'vpl or test_spl' # Run tests for the flat-device-tree version of sandbox. This is a special @@ -75,7 +77,7 @@ if [ -z "$tools_only" ]; then # CONFIG_OF_LIVE. echo "${prompt}" run_test "sandbox_flattree" ./test/py/test.py --bd sandbox_flattree \ - --build ${para} \ + --build ${para} ${quiet} \ -k "${ut_mark_expr}" else # Make sure sandbox_spl is built, as we need it from now on -- 2.43.0