about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Test/runtests.zsh1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index df90e441a..7273034ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2024-03-02  Bart Schaefer  <schaefer@zsh.org>
 
+	* JunT.: 52635: Test/runtests.zsh: show file name when crashed
+
 	* 52612: Src/parse.c, Src/subst.c, Src/utils.c: change the %l
 	replacment of zwarning() et al. to do literal string output;
 	change previous uses to %s and use new %l for ${var?$error}
diff --git a/Test/runtests.zsh b/Test/runtests.zsh
index b66d579b6..538663f50 100644
--- a/Test/runtests.zsh
+++ b/Test/runtests.zsh
@@ -15,6 +15,7 @@ for file in "${(f)ZTST_testlist}"; do
     (( skipped++ ))
   elif (( $retval )); then
     (( failure++ ))
+    (( $retval > 128 )) && print "$file: failed: SIG$signals[$retval - 127]."
   else
     (( success++ ))
   fi