summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-09-14 13:45:44 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-09-14 13:49:32 +0300
commit86fb64f95e2710b4292a4d4731c1b25ef079e48f (patch)
tree97098b179800715c4473e7234d192b0d39f85342 /scripts
parent32c8be484cf81717471909c7fa4dd4635d3a01c8 (diff)
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 <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vsp-lib.sh3
1 files changed, 2 insertions, 1 deletions
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