1 Star 0 Fork 11

starlet_dx/fprintd

forked from src-openEuler/fprintd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0003-meson-Do-not-hard-require-test-dependencies.patch 1008 Bytes
一键复制 编辑 原始数据 按行查看 历史
From ff0aa64e2d9e72d8b54b28cd3615ee3cfe342fdc Mon Sep 17 00:00:00 2001
From: Benjamin Berg <[email protected]>
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/starlet-dx/fprintd.git
[email protected]:starlet-dx/fprintd.git
starlet-dx
fprintd
fprintd
master

搜索帮助