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

2011-03-27 Thread H.J. Lu
On Fri, Mar 25, 2011 at 10:13 AM, Rainer Orth wrote: > I meant to include the final patch.  Here it is. > >        Rainer > > > 2011-03-25  Rainer Orth   > >        PR boehm-gc/11412 >        * configure.ac (THREADCFLAGS): New variable. >        Use it instead of INCLUDES, AM_CPPFLAGS. >        <*

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

2011-03-25 Thread Rainer Orth
I meant to include the final patch. Here it is. Rainer 2011-03-25 Rainer Orth PR boehm-gc/11412 * configure.ac (THREADCFLAGS): New variable. Use it instead of INCLUDES, AM_CPPFLAGS. <*-*-kfreebsd*-gnu> (THREADDLLIBS): Rename to THREADLIBS. Rem

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

2011-03-25 Thread Rainer Orth
Paolo Bonzini writes: >> @@ -116,7 +79,6 @@ >> "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \ >> "SHELL=$(SHELL)" \ >> "EXPECT=$(EXPECT)" \ >> -"RUNTEST=$(RUNTEST)" \ > > Leave this line here, and replace the definitions of EXPECT and RUNTEST in > boehm-gc/testsuite/Makefile.am w

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

2011-03-25 Thread Paolo Bonzini
On 03/21/2011 01:59 PM, Rainer Orth wrote: diff -r 8efcb4b03d45 boehm-gc/Makefile.am --- a/boehm-gc/Makefile.am Sun Mar 20 14:28:11 2011 +0100 +++ b/boehm-gc/Makefile.am Sun Mar 20 21:37:14 2011 +0100 @@ -4,10 +4,10 @@ ## files that should be in the distribution are not mentioned in t

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

2011-03-23 Thread Rainer Orth
Hi Paolo, > On Mon, Mar 21, 2011 at 19:27, Mike Stump wrote: >> On Mar 21, 2011, at 5:59 AM, Rainer Orth wrote: >>> I've applied those changes, and also managed to fix the problems I had >>> in Tru64 UNIX testing.  Here's the patch I'd like to commit to 4.7. >> >>> +# Build shared library from LI

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

2011-03-21 Thread Mike Stump
On Mar 21, 2011, at 11:33 AM, Paolo Bonzini wrote: >> So, this still seems unportable to me? > > These are libtool options. Ah, that's the part I was missing... Thanks.

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

2011-03-21 Thread Paolo Bonzini
On Mon, Mar 21, 2011 at 19:27, Mike Stump wrote: > On Mar 21, 2011, at 5:59 AM, Rainer Orth wrote: >> I've applied those changes, and also managed to fix the problems I had >> in Tru64 UNIX testing.  Here's the patch I'd like to commit to 4.7. > >> +# Build shared library from LIB. >> +proc boehm-

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

2011-03-21 Thread Rainer Orth
Mike Stump writes: > On Mar 21, 2011, at 5:59 AM, Rainer Orth wrote: >> I've applied those changes, and also managed to fix the problems I had >> in Tru64 UNIX testing. Here's the patch I'd like to commit to 4.7. > >> +# Build shared library from LIB. >> +proc boehm-gc-build-shlib { lib flags ex

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

2011-03-21 Thread Mike Stump
On Mar 21, 2011, at 5:59 AM, Rainer Orth wrote: > I've applied those changes, and also managed to fix the problems I had > in Tru64 UNIX testing. Here's the patch I'd like to commit to 4.7. > +# Build shared library from LIB. > +proc boehm-gc-build-shlib { lib flags extra-flags } { > +# FIXM

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

2011-03-21 Thread Rainer Orth
Mike Stump writes: >> +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]] $