This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Asan/Tsan Unit/Regression testing (was [asan] Emit GIMPLE direclty, small cleanups)
- From: Mike Stump <mikestump at comcast dot net>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Andrew Pinski <pinskia at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>, Wei Mi <wmi at google dot com>, Kostya Serebryany <kcc at google dot com>, Xinliang David Li <davidxl at google dot com>, Diego Novillo <dnovillo at google dot com>, Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, Dodji Seketeli <dseketel at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 13 Nov 2012 09:05:30 -0800
- Subject: Re: Asan/Tsan Unit/Regression testing (was [asan] Emit GIMPLE direclty, small cleanups)
- References: <CAAkRFZLxG26T_MtiL3XHiOa9EKKPyBnH5J4Nk5OKzBPGEqNgAw@mail.gmail.com> <CAN=P9pj+4-UuZjLYO1t39UqNQrhnFJu0amkKbjWXTXxDHzzzqw@mail.gmail.com> <20121109144642.GD1886@tucnak.redhat.com> <CAN=P9phtd=LN-=hYx4koDnXn0tfwN9gnQvZt2Z9rjS9T+3OYaA@mail.gmail.com> <CA+4CFy6V+9gBjrbdJdzHmsegcLqY1VvJ8r3GCmkU30hxjy6yVQ@mail.gmail.com> <20121109191312.GG1886@tucnak.redhat.com> <CA+4CFy5711DN7R_o=SPLYsVzr3kfhE1rc33vyUetvpaN3oCNvw@mail.gmail.com> <20121112180550.GR1886@tucnak.redhat.com> <CA+=Sn1=GyzX-NGtjCaOYQP+qtFQKcq0KZuzAyHT4O4H4w8Z57A@mail.gmail.com> <Pine.LNX.4.64.1211130053160.9177@digraph.polyomino.org.uk>
On Nov 12, 2012, at 4:56 PM, "Joseph S. Myers" <joseph@codesourcery.com> wrote:
> On Mon, 12 Nov 2012, Andrew Pinski wrote:
>
>> Also does gtest support cross testing; that is testing over rsh/ssh
>> and testing via a simulator? We should require that as a requirement
>> also when it comes to testing infrastructures.
>
> Unfortunately the existing guality tests work by C sources built for the
> target running a GDB binary on the target via popen, rather than having
> DejaGnu run the GDB binary on the host talking to the program on the
> target. So there's an existing not-cross-friendly piece of testsuite
> code, although it would certainly be good to rework it to work with a
> cross-GDB and cross-compiler.
An expert or a motivated individual can swap the code around to run gdb on the host; not a big deal to me. I hate more, dozens of non-portable tests cases that need to be tweaked in some obscure fashion. While it is nice if all testing worked in a full Canadian environment, I'm ok if people want to do native only, at first and just bail out (skip if target, host and build are not all the same) on the hard parts. We then just welcome patches to extend coverage to cross targets, when people have the motivation to do it.