Skip to content

Commit 0df344d

Browse files
committed
translate logical paths for ABCL
1 parent 945c4e0 commit 0df344d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/kernel.lisp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,10 @@
363363
(:documentation "Save the code to the provided source-path.")
364364
(:method (kernel code source-path)
365365
(declare (ignore kernel))
366-
(ensure-directories-exist source-path)
367-
(with-open-file (stream source-path :direction :output :if-exists :supersede)
368-
(write-string code stream))))
366+
(let ((path (translate-logical-pathname source-path)))
367+
(ensure-directories-exist path)
368+
(with-open-file (stream path :direction :output :if-exists :supersede)
369+
(write-string code stream)))))
369370

370371

371372
(defgeneric debug-evaluate-code (kernel environment code frame context)

tests/test_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def sanitize_path(p):
1717
@pytest.fixture(
1818
params=[
1919
"common-lisp",
20-
#"common-lisp_abcl",
20+
"common-lisp_abcl",
2121
"common-lisp_ccl",
2222
"common-lisp_clasp",
2323
"common-lisp_clisp",

0 commit comments

Comments
 (0)