Re: isremote and unix board special handling question

2018-11-28 Thread Brooks Moses
On Wed, Nov 28, 2018 at 5:10 PM, Rob Savoye wrote: > On 11/28/18 2:10 PM, Brooks Moses wrote: >> Much like the other big lesson of the last 30 years or so: Shipping >> something that works is far more valuable than waiting to try to >> achieve perfection. :) > > It was worse than that. :-) When

Re: isremote and unix board special handling question

2018-11-28 Thread Ben Elliston
On Wed, Nov 28, 2018 at 09:55:15PM -0600, Jacob Bachmeyer wrote: > I believe that your pessimism is premature: if Wikipedia is to be > believed, there was a new release 8.6.9 12 days ago on November 16. > I do not think that we need to worry about Tcl going away anytime > soon. :-) Expect, on th

Re: isremote and unix board special handling question

2018-11-28 Thread Jacob Bachmeyer
Rob Savoye wrote: My daydream is to analyze the current functionality, write a true design doc, and write a new python based implementation. :-) We need something that'll last another 30 years, and last I checked, Tcl has no maintainers... I believe that your pessimism is premature: if Wi

Re: Can we deprecate $subdir?

2018-11-28 Thread Jacob Bachmeyer
Rob Savoye wrote: On 11/25/18 5:15 PM, Ben Elliston wrote: * The GCC testsuite uses $subdir extensively and I'm sure other testsuites do, too. Correct. Depreciating subdir would potentially break testsuites even if you made it work with the GNU toolchain tests. That is why there

Re: Can we deprecate $subdir?

2018-11-28 Thread Rob Savoye
On 11/25/18 5:15 PM, Ben Elliston wrote: > * The GCC testsuite uses $subdir extensively and I'm sure other > testsuites do, too. Correct. Depreciating subdir would potentially break testsuites even if you made it work with the GNU toolchain tests. - rob - signature.asc Description:

Re: isremote and unix board special handling question

2018-11-28 Thread Rob Savoye
On 11/27/18 3:46 PM, Steve Ellcey wrote: Sorry, catching up from being offline while traveling... > I have a question about the special handling of the 'unix' name in > dejagnu. I am doing some GCC testing which uses dejagnu and I > want to create a new baseboard (unix-sysroot) which is just

Re: isremote and unix board special handling question

2018-11-28 Thread Rob Savoye
On 11/28/18 4:26 PM, Jacob Bachmeyer wrote: > $DEJAGNU and the local init files ($base_dir/site.exp, $objdir/site.exp) > are loaded independently.  It does not help that both local and global > init files are named (or default to) "site.exp".  Documenting this is on > my TODO list. The site.exp

Re: isremote and unix board special handling question

2018-11-28 Thread Rob Savoye
On 11/28/18 2:10 PM, Brooks Moses wrote: > Much like the other big lesson of the last 30 years or so: Shipping > something that works is far more valuable than waiting to try to > achieve perfection. :) It was worse than that. :-) When I started DejaGnu, there were only 7 of us in all of Cygnu

Re: isremote and unix board special handling question

2018-11-28 Thread Jacob Bachmeyer
Ben Elliston wrote: On Wed, Nov 28, 2018 at 04:57:28PM +, Steve Ellcey wrote: The main reason for not creating a new site.exp file is that the testing I am doing with dejagnu is running the GCC testsuite and the GCC 'make check' creates the site.exp file on the fly. You could set $

Re: isremote and unix board special handling question

2018-11-28 Thread Ben Elliston
On Wed, Nov 28, 2018 at 04:57:28PM +, Steve Ellcey wrote: > The main reason for not creating a new site.exp file is that the > testing I am doing with dejagnu is running the GCC testsuite and the > GCC 'make check' creates the site.exp file on the fly. You could set $DEJAGNU to your own site.

Re: isremote and unix board special handling question

2018-11-28 Thread Brooks Moses
On Wed, Nov 28, 2018 at 12:50 PM, Ben Elliston wrote: > On Wed, Nov 28, 2018 at 08:07:36AM -0700, Rob Savoye wrote: >> I always wanted to fix the lack of design, and also not break any >> existing testsuites, but after trying to find funding for this for >> years and failing, never got around to

Re: isremote and unix board special handling question

2018-11-28 Thread Ben Elliston
On Wed, Nov 28, 2018 at 08:07:36AM -0700, Rob Savoye wrote: > I always wanted to fix the lack of design, and also not break any > existing testsuites, but after trying to find funding for this for > years and failing, never got around to it. That has to be one of the biggst lessons of software

Re: isremote and unix board special handling question

2018-11-28 Thread Steve Ellcey
On Wed, 2018-11-28 at 13:38 +1100, Ben Elliston wrote: > Why not just put this into site.exp? > > append LDFLAGS $env(DEJAGNU_UNIX_SYSROOT_FLAGS) > > As Jacob indicated, a new baseboard is the wrong hammer. Just to clarify, when Jacob suggests 'creating a new target', is that the same as cre

Re: isremote and unix board special handling question

2018-11-28 Thread Rob Savoye
On 11/27/18 7:27 PM, Ben Elliston wrote: > On Tue, Nov 27, 2018 at 06:53:17PM -0600, Jacob Bachmeyer wrote: > >> As we see, set_board_info only works if the specified /entry/ has not >> already been defined. > > That is consistent with the manual: > > @node set_board_info procedure, [...] >

Re: isremote and unix board special handling question

2018-11-28 Thread Simon Marchi
On 2018-11-27 5:46 p.m., Steve Ellcey wrote: > I have a question about the special handling of the 'unix' name in > dejagnu. I am doing some GCC testing which uses dejagnu and I > want to create a new baseboard (unix-sysroot) which is just like > unix but sets ldflags so I can run GCC with a newl