commit:     ae57eab324d55a4a0a6fb890d8039e53a7a8930a
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Nov 15 18:54:23 2024 +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=ae57eab3

cmake.eclass: fix pms violation

Escape sequences are not allowed for `die`, use eerror instead.

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/cmake.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 54f9b8918f..d62d552abc 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -730,7 +730,9 @@ cmake_src_test() {
                        eerror "--END TEST 
LOG----------------------------------------------------------------"
                        die -n "Tests failed."
                else
-                       die -n "Tests failed. When you file a bug, please 
attach the following file: \n\t${BUILD_DIR}/Testing/Temporary/LastTest.log"
+                       eerror "Tests failed. When you file a bug, please 
attach the following file:"
+                       eerror "\t${BUILD_DIR}/Testing/Temporary/LastTest.log"
+                       die -n "Tests failed."
                fi
 
                # die might not die due to nonfatal

Reply via email to