From e37e72c61c1021c1a19e031066c11569f948d9d2 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Fri, 19 Jun 2020 21:53:39 +0900 Subject: tests: v4l2_compat: Add test for v4l2_compat Test the V4L2 compatibility layer by running v4l2-compliance -s on every /dev/video* device. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- test/v4l2_compat/meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/v4l2_compat/meson.build (limited to 'test/v4l2_compat/meson.build') diff --git a/test/v4l2_compat/meson.build b/test/v4l2_compat/meson.build new file mode 100644 index 00000000..5b29de7c --- /dev/null +++ b/test/v4l2_compat/meson.build @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: CC0-1.0 + +if is_variable('v4l2_compat') + v4l2_compat_test = files('v4l2_compat_test.py') + + test('v4l2_compat_test', v4l2_compat_test, + args : v4l2_compat, + suite : 'v4l2_compat', + timeout : 60) +endif -- cgit v1.2.1