automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data files for unit-testing


From: Ralf Wildenhues
Subject: Re: Data files for unit-testing
Date: Thu, 8 Nov 2007 07:26:54 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Al,

* Al Pacifico wrote on Wed, Nov 07, 2007 at 11:27:41PM CET:
> What is the best way to distribute data files for use with the check target?
[...]
> tests/Makefile.am contains:
> TESTS = check_suggest
> check_PROGRAMS = check_suggest
> check_suggest_SOURCES = check_suggest.c $(top_builddir)/src/suggest.h
> check_suggest_CFLAGS = @CHECK_CFLAGS@
> check_suggest_LDADD = @CHECK_LIBS@ $(top_builddir)/src/libsuggest.la
> check_DATA = sample.xml bogus.xml

To just distribute them I'd say try dist_check_DATA.

> When I make check, sample.xml and bogus.xml aren't created... what
> should I do differently?

Well, what are they created from, and how?  It seems you need to specify
their dependencies and rules to create them.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]