Re: profiling

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Tue, 31 Aug 2010 15:41:59 -0700 (PDT)

On Wed, 1 Sep 2010, Daniel Black wrote:
> 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_

During testing I found that gcov demanded these files have specific names,
unfortunately.

> libar/tests directory and content haven't been commited so the build is
> currently broken.

http://opendkim.cvs.sourceforge.net/viewvc/opendkim/libar/tests/

They're definitely there. I need to remove the Makefile and Makefile.in
though. I'll do that now.
Received on Tue Aug 31 2010 - 22:42:23 PST

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