summaryrefslogtreecommitdiff
path: root/scripts/vsp-tests.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-11-14 15:08:07 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-11-22 18:23:59 +0200
commit3c1560e02df0f4910df36dcd146963ef16006040 (patch)
treed0cb104f580dd6fe6f062d3fd997a16068794f83 /scripts/vsp-tests.sh
parent38d09b462d90675d49b24e9a6e2612bbc2fb40e5 (diff)
scripts: Take all skipped tests into accountHEADmaster
Some skipped tests print a "skip" message, while other print "skipped". This leads to some of them not being counted. Standardize on "skip". Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'scripts/vsp-tests.sh')
-rwxr-xr-xscripts/vsp-tests.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/vsp-tests.sh b/scripts/vsp-tests.sh
index 7805f1b..13e7ba4 100755
--- a/scripts/vsp-tests.sh
+++ b/scripts/vsp-tests.sh
@@ -31,16 +31,16 @@ run_test() {
for line in $output ; do
local pass=0
local fail=0
- local skipped=0
+ local skip=0
(echo "$line" | grep -q ': fail$') && fail=1
(echo "$line" | grep -q ': pass$') && pass=1
- (echo "$line" | grep -q ': skipped$') && skipped=1
+ (echo "$line" | grep -q ': skip$') && skip=1
num_fail=$((num_fail+fail))
num_pass=$((num_pass+pass))
- num_skipped=$((num_skipped+skipped))
- num_test=$((num_test+pass+fail+skipped))
+ num_skip=$((num_skip+skip))
+ num_test=$((num_test+pass+fail+skip))
done
if [ $(ls *.bin 2>/dev/null | wc -l) != 0 ] ; then