From: Ross Burton Date: Tue, 13 Jan 2026 18:39:59 +0000 (+0000) Subject: tcl: improve test execution loop X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c41887f2a726c30ec6beaa48483e388076c5ea8;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git tcl: improve test execution loop There's no need to run tests/all.tcl if we're going to immediately tell it to run just one test file. Instead just run the test file directly. This reduces a lot of noise from the log output. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest index c8acb4846f..46a1967def 100644 --- a/meta/recipes-devtools/tcltk/tcl/run-ptest +++ b/meta/recipes-devtools/tcltk/tcl/run-ptest @@ -24,12 +24,11 @@ SKIP="$SKIP http11-\*" # tries to access google.com SKIP="$SKIP httpProxy-\*" -for i in tests/*.test; do - i=$(basename $i) - ./tcltest tests/all.tcl -file $i -skip "$SKIP" +for name in tests/*.test; do + ./tcltest $name -skip "$SKIP" if [ $? -eq 0 ]; then - echo "PASS: $i" + echo "PASS: $name" else - echo "FAIL: $i" + echo "FAIL: $name" fi done