diff --git a/test/v4l2_compat/v4l2_compat_test.py b/test/v4l2_compat/v4l2_compat_test.py
index ae892ced6127..be16af3bc5e6 100755
--- a/test/v4l2_compat/v4l2_compat_test.py
+++ b/test/v4l2_compat/v4l2_compat_test.py
@@ -147,6 +147,10 @@ def main(argv):
             print('success')
         drivers_tested[driver] = True
 
+    if len(drivers_tested) == 0:
+        print(f'No compatible drivers found')
+        return TestSkip
+
     if len(failed) > 0:
         print(f'Failed {len(failed)} tests:')
         for device in failed:
