Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hugo Ishimaru
asdf
Commits
f150fda3
Commit
f150fda3
authored
Jan 08, 2014
by
Francois-Rene Rideau
Browse files
Improve test-sysdef-asdf: test for fallback vs the real thing.
Remove trace on clisp
parent
df285161
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test-sysdef-asdf.script
View file @
f150fda3
;;; -*- Lisp -*-
;; Empty configuration: no asdf.asd
(initialize-source-registry
'(:source-registry :ignore-inherited-configuration))
(load-system :asdf)
;; We didn't find it and got the fallback
(assert-equal nil (system-source-file (find-system :asdf)))
;; Proper configuration: asdf.asd from the source above
(initialize-source-registry
`(:source-registry
(:directory ,*asdf-directory*)
(:directory ,*uiop-directory*)
:ignore-inherited-configuration))
(load-system :asdf)
;; This time we found it
(assert-pathname-equal (subpathname *asdf-directory* "asdf.asd")
(system-source-file (find-system :asdf)))
(defun system-lisp-files (system)
(loop :for f :in (required-components system :keep-component 'cl-source-file)
...
...
@@ -22,8 +29,6 @@
:output :string :error-output t :directory *asdf-directory*)
:separator #(#\space #\newline #\return #\tab))))
#+clisp (trace run-program reduce/strcat)
(defmacro compare-files (system target)
`(assert-equal (system-lisp-files ,system) (makefile-lisp-files ,target)))
...
...
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