commit: 657dc69cdd68546003b7877321bc1d2db0ddc849 Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Sat Jan 25 22:35:42 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Sep 30 21:12:57 2025 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=657dc69c
cmake.eclass: allow nonfatal cmake_src_test This is already expected in tree via virtx use. $ qgrep 'virtx cmake_src_test' | wc -l 57 Bug: https://bugs.gentoo.org/961929 Closes: https://github.com/gentoo/gentoo/pull/40307 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/cmake.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 230bca97d0..54f9b8918f 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -728,9 +728,9 @@ cmake_src_test() { eerror "--START TEST LOG--------------------------------------------------------------" cat "${BUILD_DIR}/Testing/Temporary/LastTest.log" eerror "--END TEST LOG----------------------------------------------------------------" - die "Tests failed." + die -n "Tests failed." else - die "Tests failed. When you file a bug, please attach the following file: \n\t${BUILD_DIR}/Testing/Temporary/LastTest.log" + die -n "Tests failed. When you file a bug, please attach the following file: \n\t${BUILD_DIR}/Testing/Temporary/LastTest.log" fi # die might not die due to nonfatal
