Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asdf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asdf
asdf
Commits
bdde8a36
Commit
bdde8a36
authored
Oct 14, 2013
by
Francois-Rene Rideau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't print too many backtraces in asdf-pathname-test.
parent
35decf6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
test/asdf-pathname-test.script
test/asdf-pathname-test.script
+8
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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