[s-xml-devel] Problem when loading the tests with the CLC
Luca Capello
luca at pca.it
Sun May 14 23:03:51 UTC 2006
Hi Sven!
On Sun, 14 May 2006 15:32:53 -0500, Sven Van Caekenberghe wrote:
> The test suite was designed to be loaded and not compiled - that
> way, *load-pathname* is correct with respect to the needed test
> resources files.
Indeed, loading the test/all-tests.lisp file works:
=====
$ sbcl
[...]
* (asdf:oos 'asdf:load-op 's-xml)
[...]
* (load "/usr/share/common-lisp/source/s-xml/test/all-tests.lisp")
;; loading #P"/usr/share/common-lisp/source/s-xml/test/test-xml.lisp"
;; loading #P"/usr/share/common-lisp/source/s-xml/test/test-xml-struct-dom.lisp"
;; loading #P"/usr/share/common-lisp/source/s-xml/test/test-lxml-dom.lisp"
;; loading #P"/usr/share/common-lisp/source/s-xml/test/test-sxml-dom.lisp"
T
* (quit)
=====
> Of course it would be a good idea to make an asdf of the test suite,
> and use it properly. I am not sure what the correct solution
> is. What do other CL projects do in similar cases ? Isn't there a
> way to prevent asdf from compiling certain files - maybe that could
> be a solution ?
I'm not an ASDF expert, maybe Peter could be more helpful.
The other CL projects having a test suite I know (mostly the BESE
software at [1]) use ASDF-compiling files and AFAIK from reading the
ASDF documentation [2] [3] you could not prevent compilation of
certain files (which indeed should be the best solution).
I think that in the meantime I'll provide a note in the README.Debian
explaining how to load the test/all-tests.lisp file.
Thx, bye,
Gismo / Luca
[1] http://common-lisp.net/projects/bese/
[2] http://constantly.at/lisp/asdf/
[3] http://common-lisp.net/~mmommer/asdf-howto.shtml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/s-xml-devel/attachments/20060514/46fe9aba/attachment.sig>
More information about the s-xml-devel
mailing list