diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-11-14 15:08:07 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-11-22 18:23:59 +0200 |
commit | 3c1560e02df0f4910df36dcd146963ef16006040 (patch) | |
tree | d0cb104f580dd6fe6f062d3fd997a16068794f83 /scripts | |
parent | 38d09b462d90675d49b24e9a6e2612bbc2fb40e5 (diff) |
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')
-rwxr-xr-x | scripts/vsp-lib.sh | 2 | ||||
-rwxr-xr-x | scripts/vsp-tests.sh | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index a8898e8..114bc72 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -1076,7 +1076,7 @@ test_init() { if [ -z $best_mdev ] ; then echo "No device found with feature set \`$features'" | ./logger.sh config >> $logfile - echo "Test requires unavailable feature set \`$features': skipped" >&2 + echo "Test requires unavailable feature set \`$features': skip" >&2 exit 1 fi 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 |