diff mbox series

[04/28] check-parallel: report how many tests were _notrun

Message ID 20250417031208.1852171-5-david@fromorbit.com (mailing list archive)
State New
Headers show
Series check-parallel: Running tests without check | expand

Commit Message

Dave Chinner April 17, 2025, 3 a.m. UTC
From: Dave Chinner <dchinner@redhat.com>

We already count tests "run" and tests that failed, but there is no
indication of how many tests were _notrun. With tests actually
failing to run because of things like bugs in _scratch_mkfs_sized
being reported as "_notrun" instead of failing, visibility of
changing numbers of _notrun tests is needed.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
 check-parallel | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/check-parallel b/check-parallel
index c85437252..d68d76e55 100755
--- a/check-parallel
+++ b/check-parallel
@@ -188,7 +188,10 @@  done;
 wait
 
 echo -n "Tests run: "
-grep Ran /mnt/xfs/*/log | sed -e 's,^.*:,,' -e 's, ,\n,g' | sort | uniq | wc -l
+grep Ran $basedir/*/log | sed -e 's,^.*:,,' -e 's, ,\n,g' | sort | uniq | wc -l
+
+echo -n "Tests _notrun: "
+grep "^Not run" $basedir/*/log | uniq | sed -e 's,^.*:,,' -e 's, ,\n,g' -e 's,^\n,,' | wc -l
 
 echo -n "Failure count: "
 grep Failures: $basedir/*/log | uniq | sed -e "s/^.*Failures://" -e "s,\([0-9]\) \([gx]\),\1\n \2,g" |wc -l