aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-09-23 09:37:40 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-09-23 09:39:52 +0200
commitb3c2f609fd403b78c46d65fcc13359d6a40727ad (patch)
tree2d5324bd7d74e6f6e60eb11486c9a6e5a95da4d3
parent7136ae654580edbc587d6a61348a662f7798a69e (diff)
test-media: add 'date' at beginning and end, show versions
Add a 'date' command at the beginning and the end to make it easier to see how much time the script takes. Also show the kernel version and v4l2-compliance version at the start to check that the expected versions are used for testing. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rwxr-xr-xcontrib/test/test-media21
1 files changed, 14 insertions, 7 deletions
diff --git a/contrib/test/test-media b/contrib/test/test-media
index 6e7a30fd..7cc96ac0 100755
--- a/contrib/test/test-media
+++ b/contrib/test/test-media
@@ -33,13 +33,6 @@ elif [ -f .config ]; then
fi
fi
-if [ $kobj_rel -eq 1 ]; then
- echo Detected CONFIG_DEBUG_KOBJECT_RELEASE=y
- unbind_time=10
- reunbind_time=14
- rmmod_time=5
-fi
-
cur_lvl=`cut -c 1-2 /proc/sys/kernel/printk`
if [ -z "$1" ]; then
@@ -165,6 +158,19 @@ if [ $vidtv -eq 1 ]; then
fi
fi
+date
+uname -a
+$v4l2_compliance --version
+echo
+echo
+
+if [ $kobj_rel -eq 1 ]; then
+ echo Detected CONFIG_DEBUG_KOBJECT_RELEASE=y
+ unbind_time=10
+ reunbind_time=14
+ rmmod_time=5
+fi
+
if [ $unload -eq 1 ]; then
test-media-unload.pl
dmesg -n notice
@@ -775,3 +781,4 @@ if [ $setup -eq 0 ]; then
fi
dmesg -n $cur_lvl
+date

Privacy Policy