31 lines
1008 B
Diff
31 lines
1008 B
Diff
From ff0aa64e2d9e72d8b54b28cd3615ee3cfe342fdc Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Berg <bberg@redhat.com>
|
|
Date: Thu, 5 May 2022 15:54:24 +0200
|
|
Subject: [PATCH 03/14] meson: Do not hard-require test dependencies
|
|
|
|
Just warn about missing test dependencies. If the user tries to run the
|
|
tests, they will fail. This is fine however, and in certain cases the
|
|
user might not even want to run the tests.
|
|
|
|
Closes: #133
|
|
---
|
|
meson.build | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/meson.build b/meson.build
|
|
index b155a4a..159f0e8 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -153,7 +153,7 @@ python3_available_modules = []
|
|
|
|
foreach module, required : python3_test_modules
|
|
if required and run_command(python3, '-c', 'import @0@'.format(module)).returncode() != 0
|
|
- error('Python3 module \'' + module + '\' required by test suite not found')
|
|
+ warning('Python3 module \'' + module + '\' required by test suite not found')
|
|
endif
|
|
endforeach
|
|
|
|
--
|
|
2.37.1.windows.1
|
|
|