[testsuite, build] Convert boehm-gc testsuite to DejaGnu (PR boehm-gc/11412)

Mike Stump mikestump@comcast.net
Fri Feb 18 09:50:00 GMT 2011


On Jan 24, 2011, at 6:01 AM, Rainer Orth wrote:
> +    # FIXME: Explain options.
> +    set shopt "-version-info 1:2:0 -no-undefined -rpath /nowhere"
> +    # Prefix -shared-libgcc with -Wc, to get it through libtool.
> +    lappend shopt -Wc,-shared-libgcc

Seems not very portable...  though, maybe it really is.

> +    catch { exec $libtool --mode=clean rm -f $basename.lo }

If libtool runs on the host, this doesn't do that, try:

  [remote_exec host ... ]

see gcc.exp for examples.

> +	catch { exec $libtool --mode=clean rm -f [file rootname [file tail $testcase]] $shlib }

Likewise.


Other than that, looks reasonable.  Though, I'd probably say, stage1, as I said earlier.  If you want it for the current release, we can also ask a RM to weigh in...  I'd be fine with them preferring it sooner, if they want.



More information about the Gcc-patches mailing list