Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asdf
asdf
Commits
bdde8a36
Commit
bdde8a36
authored
Oct 14, 2013
by
Francois-Rene Rideau
Browse files
Don't print too many backtraces in asdf-pathname-test.
parent
35decf6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/asdf-pathname-test.script
View file @
bdde8a36
...
...
@@ -108,12 +108,19 @@
failures)
nil))))
(defparameter *backtraces* 0)
(defparameter *max-backtraces* 2)
(defun test-file (file &key configuration (test-status *test-status*) (start-time 0))
(with-slots (system-count directory-count file-count
system-failures directory-failures file-failures failures) test-status
(incf file-count)
(unless (block nil
(handler-bind ((error #'(lambda (c) (print-condition-backtrace c) (return nil))))
(handler-bind ((error #'(lambda (c)
(incf *backtraces*)
(when (<= *backtraces* *max-backtraces*)
(print-condition-backtrace c))
(return nil))))
(with-open-file (stream (component-pathname file)
:direction :output :if-exists :supersede
:if-does-not-exist :error)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment