Re: profiling

From: Daniel Black <daniel.subs_at_internode.on.net>
Date: Wed, 1 Sep 2010 08:26:22 +1000

On Wednesday 01 September 2010 00:02:34 Murray S. Kucherawy wrote:
> On Tue, 31 Aug 2010, Daniel Black wrote:
> > Anyone remember the reason behind the basename renames in
> > libopendkim/tests for profiling/codecoverage?
>
> I don't recall doing any renames in there. Which things got renamed?

libopendkim/tests/Makefile.am && libopendkim/tests/gcov-helper.sh

.gcov-files: check-TESTS
        for i in $(PROF_SRCS); do \
                x=`echo $$i | sed 's/\..*//g'`; \
                if test -f ../libopendkim_la-$$x.gcno -a \
                        -f ../libopendkim_la-$$x.gcda; then \
                        mv ../libopendkim_la-$$x.gcno ../$$x.gcno; \
                        mv ../libopendkim_la-$$x.gcda ../$$x.gcda; \
                        gcov -o .. $$i; \
                fi; \
                if test -f ../libopendkim_la-$$x.bb -a \
                        -f ../libopendkim_la-$$x.bbg -a \
                        -f ../libopendkim_la-$$x.da; then \
                        mv ../libopendkim_la-$$x.bb ../$$x.bb; \
                        mv ../libopendkim_la-$$x.bbg ../$$x.bbg; \
                        mv ../libopendkim_la-$$x.da ../$$x.da; \
                        gcov -o .. $$i; \
                fi; \
        done
        touch $_at_


libar/tests directory and content haven't been commited so the build is
currently broken.
Received on Tue Aug 31 2010 - 22:25:37 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:53 PST