* How about adding a TEST-OP to ASDF's asd?
* (asdf::version-satisfies (asdf:asdf-version) (asdf:asdf-version))
may be a trivial test case for version-satisfies.
It's not obvious how to add test cases.
-T.
On 13 February 2010 13:31, Tobias C. Rittweiler tcr@freebits.de wrote:
* How about adding a TEST-OP to ASDF's asd?
I'm not going to spend too much time on ASDF and add a TEST-OP. I would gladly accept a patch that transforms its current ad-hoc test suite to use e.g. STEFIL.
* (asdf::version-satisfies (asdf:asdf-version) (asdf:asdf-version))
I added some tests for version-satisfies in test-utilities.script.
I fixed a few obvious issues with rpg's latest commit and rolled out asdf 1.609.
--#f Mail addiction is a malediction.
On 2/13/10 Feb 13 -12:31 PM, Tobias C. Rittweiler wrote:
- How about adding a TEST-OP to ASDF's asd?
I think there's a related launchpad ticket about this. We don't have an easy way to fire up subsidiary lisps from inside an ASDF job, and especially don't have a good way to harvest results. The ASDF tests all require to be run in a separate lisp, because they don't clean up after themselves -- there's a shell script involved.
I suppose one could build a perform method for asdf test-op that would invoke the scripts and maybe grab up the output they splat onto the console.
Personally, I don't have the energy to do this --- the asdf tests work well enough for me in their current form, and there are more urgent itches to scratch.
Also, note that the existing tests are mostly black box tests.
It might be a better use of energy to write a test-op that would do unit testing, and actually probe the behavior of individual functions, as a complement to the existing black box tests.
Your second bullet suggests that this might be what you had in mind.
Cheers, r
(asdf::version-satisfies (asdf:asdf-version) (asdf:asdf-version))
may be a trivial test case for version-satisfies.
It's not obvious how to add test cases.
-T.
asdf-devel mailing list asdf-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel