diff options
author | Benjamin Berg <bberg@redhat.com> | 2022-05-05 15:54:24 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2022-05-05 15:55:07 +0200 |
commit | ff0aa64e2d9e72d8b54b28cd3615ee3cfe342fdc (patch) | |
tree | a17b9f91199c325a75e03389d6291a318103950c | |
parent | ae04fa989720279e5558c3b8ff9ebe1959b1cf36 (diff) |
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
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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 |