From 86fb64f95e2710b4292a4d4731c1b25ef079e48f Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 14 Sep 2016 13:45:44 +0300 Subject: vsp-lib: Print a message when a test can't be run Tests that can't be run due to lack of mandatory features are currently silent, make them print a message to avoid confusing the user. Signed-off-by: Laurent Pinchart --- scripts/vsp-lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index 7ebdaf8..02376e8 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -863,7 +863,8 @@ test_init() { done if [ -z $best_mdev ] ; then - echo "No device found with feature set $features" | ./logger.sh config >> $logfile + echo "No device found with feature set \`$features'" | ./logger.sh config >> $logfile + echo "Test requires unavailable feature set \`$features': skipped" >&2 exit 1 fi -- cgit v1.2.3