[Test] contrib/test_installed modified to set specific gcov

Anna Tikhonova anna.m.tikhonova@gmail.com
Wed Aug 8 12:47:00 GMT 2012


Hi,

while running check for Android NDK compiler (I've used
contrib/test_installed for it) I've noticed that gcov name is
hardcoded in g++.dg/gcov/gcov.exp.
All NDK x86 tools have prefix like i686-linux-android-, so testing
will fail to spawn gcov.

The patch attached introduces --with-gcov flag of
contrib/test_installed so one could set specific gcov for testing.
As workaround we could create a wrapper script named 'gcov' pointing
to specific gcov in directory where GCC_UNDER_TEST resides.

What do you think of this patch? Do you find it usefull? Thanks in advance.

Anna
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcov.p
Type: application/octet-stream
Size: 2260 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120808/4cd8a7eb/attachment.obj>


More information about the Gcc-patches mailing list