mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-17 13:36:04 +02:00
52635: show file name when test has crashed
This commit is contained in:
parent
4fb96cc639
commit
145397b6dc
|
@ -1,5 +1,7 @@
|
||||||
2024-03-02 Bart Schaefer <schaefer@zsh.org>
|
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
|
* 52612: Src/parse.c, Src/subst.c, Src/utils.c: change the %l
|
||||||
replacment of zwarning() et al. to do literal string output;
|
replacment of zwarning() et al. to do literal string output;
|
||||||
change previous uses to %s and use new %l for ${var?$error}
|
change previous uses to %s and use new %l for ${var?$error}
|
||||||
|
|
|
@ -15,6 +15,7 @@ for file in "${(f)ZTST_testlist}"; do
|
||||||
(( skipped++ ))
|
(( skipped++ ))
|
||||||
elif (( $retval )); then
|
elif (( $retval )); then
|
||||||
(( failure++ ))
|
(( failure++ ))
|
||||||
|
(( $retval > 128 )) && print "$file: failed: SIG$signals[$retval - 127]."
|
||||||
else
|
else
|
||||||
(( success++ ))
|
(( success++ ))
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue