[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
valgrind-tests.m4 is not compatible with libtool
From: |
Vincent Lefevre |
Subject: |
valgrind-tests.m4 is not compatible with libtool |
Date: |
Tue, 30 Aug 2011 16:57:48 +0200 |
User-agent: |
Mutt/1.5.21-6194-vl-r44775 (2011-07-13) |
Hi,
I've just done a test with the GNU MPC trunk, which is now based
on valgrind-tests.m4, and this is not compatible with libtool,
because it generates wrapper scripts.
valgrind-tests.texi says:
However, this means that binaries invoked through scripts will not be
invoked under valgrind, which could be solved by adding the following:
@smallexample
TESTS_ENVIRONMENT = VALGRIND='$(VALGRIND)'
@end smallexample
And then modify the shell scripts to invoke the binary prefixed with
@code{$VALGRIND}.
but the libtool scripts cannot be modified that way. There would be
2 solutions: use --trace-children (with its usual drawbacks concerning
the output) do something to invoke
libtool --mode=execute valgrind ...
--
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
- valgrind-tests.m4 is not compatible with libtool,
Vincent Lefevre <=