aboutsummaryrefslogtreecommitdiff
path: root/test/shared/run-func.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/shared/run-func.bash')
-rwxr-xr-xtest/shared/run-func.bash7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/shared/run-func.bash b/test/shared/run-func.bash
index f5d6f96..8742c95 100755
--- a/test/shared/run-func.bash
+++ b/test/shared/run-func.bash
@@ -10,5 +10,8 @@ shift
cd "$(dirname "$0")/../.."
-exec emacs --batch -L . "$@" \
- --eval "(setq debug-on-error t)" -f "${func}"
+exec emacs --batch -L . "$@" \
+ --eval "(setq debug-on-error t)" \
+ --eval "(setq backtrace-line-length 0)" \
+ -f "${func}" \
+ 2>&1 | sed -uE 's/^(.{320}).+$/\1...[truncated]/'