[testsuite, build] Convert boehm-gc testsuite to DejaGnu (PR boehm-gc/11412)
Dave Korn
dave.korn.cygwin@gmail.com
Wed Jan 5 20:19:00 GMT 2011
On 05/01/2011 18:06, Rainer Orth wrote:
Hi Rainer,
> * The primary complication of the boehm-gc testsuite is the
> staticroottest testcase, which depends on a shared library.
> Currently, libtool is used to build that and I think that's the right
> decision rather than duplicating all of libtool's knowledge in
> DejaGnu.
>
> Unfortunately, DejaGnu knows nothing about libtool yet, and I'm still
> struggling with the right way to integrate it. For the moment (though
> I fear that wrong, over-complicated) I've chosen to add two additional
> keywords (ltassemble and ltlink) to match assemble and link, but for
> .la, .lo files instead. I'm open for suggestions for better ways to
> handle this, though.
Perhaps just build it in the makefile, as at present, and make the .la file
a dependency of the check target, so that it gets built before starting the
testrun? (Or conceivably if worried about it failing to build on some target
and that stopping the tests from running, build it using a recursive $(MAKE)
invocation, using the "-" prefix to ignore errors?)
cheers,
DaveK
More information about the Java-patches
mailing list