diff --git a/tests/meson.build b/tests/meson.build
index 94be05ea86b1a0cc33a4898f1810e4af8b599884..895a61fee48bb6d0422fe8be8f59e70a5ede28bb 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -29,16 +29,21 @@ test_env.prepend('PATH', join_paths(meson.current_build_dir(), '..', 'bin'))
 
 tests = [
   'architecture',
-  'check-requirements-cli',
   'desktop-entry',
   'graphics',
   'library',
   'locale',
   'system-info',
-  'system-info-cli',
   'utils',
 ]
 
+if get_option('bin')
+  tests += [
+    'check-requirements-cli',
+    'system-info-cli',
+  ]
+endif
+
 tests_utils = [
   'fake-home.c',
   'test-utils.c',