From 48eab3dc481e4b3cfabf0005c9f2d6bf5b47f353 Mon Sep 17 00:00:00 2001 From: logicmoo Date: Tue, 10 Dec 2024 06:12:55 -0800 Subject: [PATCH] again see why tests are being killed --- scripts/run_commit_tests.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/run_commit_tests.sh b/scripts/run_commit_tests.sh index ffe0a18e383..bd967746dc4 100755 --- a/scripts/run_commit_tests.sh +++ b/scripts/run_commit_tests.sh @@ -63,15 +63,16 @@ run_mettalog_tests() { clean=false # Reset or remove the clean option after using it fi - if [ "$SHOW_ALL_OUTPUT" = true ]; then + + #if [ "$SHOW_ALL_OUTPUT" = true ]; then # Execute the command and capture the status - "${cmd[@]}" + "${cmd[*]}" local status=$? - else + #else # Execute the command silently and filter output, capturing status - script -q -c "${cmd[*]}" /dev/null | tee >(grep -Ei --line-buffered '_CMD:|h3 id|loonit_|warning|es[:] ' >&2) > /dev/null - local status=$? - fi + #script -q -c "${cmd[*]}" /dev/null | tee >(grep -Ei --line-buffered '_CMD:|h3 id|loonit_|warning|es[:] ' >&2) > /dev/null + #local status=$? + #fi if [ $status -eq 4 ]; then @@ -88,7 +89,7 @@ SKIP_LONG=0 #blank out the shared units cat /dev/null > /tmp/SHARED.UNITS -SHOW_ALL_OUTPUT=true # Set to false normally, true for debugging +SHOW_ALL_OUTPUT=false # Set to false normally, true for debugging # 23+ tests (~30 seconds)