Testsuite construction question
Jerry James
james at xemacs.org
Thu Mar 25 18:33:48 EST 2004
I've got bignums purring along pretty well on Linux using GNU MP and
limping along with a thorn in its foot on Solaris 5.8 using the native
MP. (Man, that's a badly designed interface!)
It's about time I learned about testsuites. I did a little bit of work
on tests/automated/lisp-tests.el. Now I want to write some tests that
involve constants the un-bignumed reader can't grok. How should I
handle that? I thought of putting it into a separate test file, but it
looks like src/Makefile.in.in just runs everything in tests/automated,
so that won't help. I could wrap the whole testsuite in
(when (featurep 'bignum)
...)
but the reader will still try to tokenize the body. Is there some way I
can tell a no-bignum XEmacs, "don't even try to read this file; just go
away and be happy?"
I could do something like mule-tests does, but part of the point is to
test the bignum-enhanced reader. Also, I'll have the same problem with
ratios.
Thanks,
--
Jerry James
http://www.ittc.ku.edu/~james/
More information about the XEmacs-Beta
mailing list