From 9754f31fdb0b5eb69f05093522ef00049990bde3 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Sun, 25 May 2025 15:16:01 +0200 Subject: [PATCH] meson: Do no run python-full test when GStreamer-full is not built Part-of: --- tests/python/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/python/meson.build b/tests/python/meson.build index 2a14fa192f..ed60021455 100644 --- a/tests/python/meson.build +++ b/tests/python/meson.build @@ -30,4 +30,8 @@ endif env.set('GST_OVERRIDE_SRC_PATH', meson.current_source_dir() / root_rel / 'subprojects/gst-python/gi/overrides') env.set('GST_OVERRIDE_BUILD_PATH', meson.current_build_dir() / root_rel / 'subprojects/gst-python/gi/overrides') -test('python-full', python, args: [meson.current_source_dir() / 'python-full.py'], env: env) +if building_full + test('python-full', python, args: [meson.current_source_dir() / 'python-full.py'], env: env) +else + message('Skipping python full tests, not building gstreamer-full') +endif