From d61166afcc377a7183d220aedf585ea17781bdc4 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Wed, 9 Sep 2020 21:25:23 +0100
Subject: [PATCH] Don't test pressure-vessel if it wasn't built

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 tests/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/meson.build b/tests/meson.build
index 895a61fee..1637002cf 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -315,6 +315,8 @@ foreach test_name : test_scripts
   endif
 endforeach
 
-subdir('pressure-vessel')
+if get_option('pressure_vessel') and get_option('bin')
+  subdir('pressure-vessel')
+endif
 
 # vim:set sw=2 sts=2 et:
-- 
GitLab