Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
53fe0a4f
by Raymond Toy at 2016-09-07T20:28:36-07:00
-
5524c034
by Raymond Toy at 2016-09-07T20:29:38-07:00
-
6714a3a1
by Raymond Toy at 2016-09-07T20:52:29-07:00
-
f810fc97
by Raymond Toy at 2016-09-08T03:55:32+00:00
3 changed files:
Changes:
... | ... | @@ -313,11 +313,12 @@ |
313 | 313 |
(let ((info (kernel:%code-debug-info code-obj)))
|
314 | 314 |
(when info
|
315 | 315 |
(let ((sources (c::debug-info-source info)))
|
316 |
(format t (intl:gettext "~&On ~A it was compiled from:")
|
|
317 |
(format-universal-time nil
|
|
318 |
(c::debug-source-compiled
|
|
319 |
(first sources))
|
|
320 |
:style :iso8601))
|
|
316 |
(when sources
|
|
317 |
(format t (intl:gettext "~&On ~A it was compiled from:")
|
|
318 |
(format-universal-time nil
|
|
319 |
(c::debug-source-compiled
|
|
320 |
(first sources))
|
|
321 |
:style :iso8601)))
|
|
321 | 322 |
(dolist (source sources)
|
322 | 323 |
(let ((name (c::debug-source-name source)))
|
323 | 324 |
(ecase (c::debug-source-from source)
|
... | ... | @@ -298,3 +298,15 @@ |
298 | 298 |
(assert-eql (length in-string) (length out-string))
|
299 | 299 |
(assert-equal in-string out-string)))))
|
300 | 300 |
|
301 |
|
|
302 |
|
|
303 |
(define-test issue.30
|
|
304 |
(:tag :issues)
|
|
305 |
(let* ((test-file #.(merge-pathnames #p"resources/issue-30.lisp" cl:*load-pathname*))
|
|
306 |
(fasl-file (compile-file-pathname test-file)))
|
|
307 |
;; Compiling and loading the test file should succeed without
|
|
308 |
;; errors.
|
|
309 |
(assert-true (pathnamep test-file))
|
|
310 |
(assert-true (pathnamep fasl-file))
|
|
311 |
(assert-equalp (list fasl-file nil nil)
|
|
312 |
(multiple-value-list (compile-file test-file :load t)))))
|
1 |
(defun foo ()
|
|
2 |
(print "Hello world"))
|
|
3 |
|
|
4 |
(describe 'foo)
|