diff options
| author | Alfred Wingate <parona@protonmail.com> | 2025-01-26 00:35:42 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-09-30 23:12:57 +0200 |
| commit | 657dc69cdd68546003b7877321bc1d2db0ddc849 (patch) | |
| tree | 6fc3e07a6495c9b0798ecf85c42ee093044d91c3 | |
| parent | 24eb26d71e799d2ce170a3b7f636c9f506280439 (diff) | |
| download | kde-657dc69cdd68546003b7877321bc1d2db0ddc849.tar.gz kde-657dc69cdd68546003b7877321bc1d2db0ddc849.tar.bz2 kde-657dc69cdd68546003b7877321bc1d2db0ddc849.zip | |
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@protonmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
| -rw-r--r-- | eclass/cmake.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 230bca97d09..54f9b8918f0 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 |
