summaryrefslogtreecommitdiff
path: root/test/v4l2_compat
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_compat')
-rwxr-xr-xtest/v4l2_compat/v4l2_compat_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/v4l2_compat/v4l2_compat_test.py b/test/v4l2_compat/v4l2_compat_test.py
index 51bfa952..ae892ced 100755
--- a/test/v4l2_compat/v4l2_compat_test.py
+++ b/test/v4l2_compat/v4l2_compat_test.py
@@ -94,7 +94,7 @@ def main(argv):
return TestSkip
ret, out = run_with_stdout(v4l2_compliance, '--version')
- if ret != 0 or version.parse(out[0].split()[-1]) < MIN_V4L_UTILS_VERSION:
+ if ret != 0 or version.parse(out[0].split()[1].replace(',', '')) < MIN_V4L_UTILS_VERSION:
print('v4l2-compliance version >= 1.21.0 required')
return TestSkip