This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING][PATCH] Change contrib/test_installed for testing cross compilers


On 11/24/14 09:51, Alan Lawrence wrote:
Having just been experimenting with testing of installed compilers - yes
something like this could be useful, however: to do cross-testing I
found I also (a) had to set my target_list; so either an extra flag for
that, or maybe just a generic 'extra_site_flags' parameter?
(b) I had to set up some boards...so maybe could have got there with the
--tmpdir flag, ok;
(c) lost all the parallelism provided by the Makefile in build/gcc. It
should be possible to use the (check-parallel-xxx rules from) Makefile
in conjunction with the site.exp from contrib/test_installed, haven't
got that far yet...

This does leave me wondering (1) whether a one-step "$ test_installed"
is feasible, or a two-stage setup and then run is inevitable; (2)
whether having all that parallelism expressed in the Makefile is the
best place for it. Not that I have an alternative proposal at this point...
It might be inevitable to have a two stage setup. Red Hat does installed compiler testing and I'm sure increased parallelism for install testing would be appreciated by the team doing that work.

As for the --target, change itself, seems reasonable.

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]