Commit 20a36319 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau

More XCL tweaks.

parent 595536fe
......@@ -29,6 +29,8 @@
Maybe O(n^3) behavior or worse in walking the C++ stack?
The backtrace frames may contains unprintable objects.
make-pathname fails to copy the version from the defaults.
(make-pathname :host "ASDFTEST" :directory '(:absolute "system2" "module4")
:name nil :type nil) fails to handle the logical-pathname-ness of ASDFTEST.
* GCL is almost working again; but implementation bugs remain.
See November 2013 discussion on gcl-devel
......
......@@ -117,15 +117,12 @@
(with-slots (system-count directory-count file-count
system-failures directory-failures file-failures all-tests) test-status
(let ((success
(block :foo
(block :foo ;; XCL 0.0.0.291 is confused if using block nil
(handler-bind ((error #'(lambda (c)
(incf *backtraces*)
(dolist (o (list *trace-output*))
(format o "BACKTRACES: ~S (max ~S)~%"
*backtraces* *max-backtraces*)
(dolist (o (list *trace-output* *standard-output*))
(when (<= *backtraces* *max-backtraces*)
#+xcl (safe-format! stream "~&Condition:~%~A~&" c)
#-xcl (print-condition-backtrace c :stream o)))
(print-condition-backtrace c :stream o)))
(return-from :foo nil))))
(assert (probe-file* (component-pathname file)) ()
"Can't find pathname ~S for component ~S" (component-pathname file) file)
......@@ -367,6 +364,11 @@
:direction :output
:if-exists :supersede :if-does-not-exist :create)
(setup-asdftest-logical-host :root root)
#+asdf-test-logical-pathname
(assert-pathname-equal
(make-pathname :host "ASDFTEST" :directory '(:absolute "system2" "module4")
:name nil :type nil)
(parse-namestring "ASDFTEST:system2;module4;"))
(multiple-value-bind (systems modules files test-files)
(make-test-files
:root root
......
......@@ -146,7 +146,7 @@ This is designed to abstract away the implementation specific quit forms."
#.(if (find-symbol* "*VERBOSITY*" "SB-DEBUG" nil) :stream '(or count most-positive-fixnum))
stream)
#+xcl
(loop :for i :from 0
(loop :for i :from 0 :below (or count most-positive-fixnum)
:for frame :in (extensions:backtrace-as-list) :do
(safe-format! stream "~&~D: ~S~%" i frame)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment