curl-library
Re: claesjac: curl/tests/data test1109, NONE, 1.1 test1110, NONE, 1.1 test1111, NONE, 1.1
Date: Sun, 10 Jan 2010 00:48:41 +0100
On Sunday 10 of January 2010 00:33:46 Daniel Stenberg wrote:
> On Sat, 9 Jan 2010, Julien Chaffraix wrote:
> >> Additionally, tests/data/Makefile.am is missing references to test1109
> >> test1110 test1111.
> >
> > As Daniel pointed out, it is really easy to forget about this update. A
> > warning would be really welcome so that new contributors do not fall into
> > the same trap.
>
> It's just a bit hard to do in a nice way, as the test files are added to
> the package in tests/data/Makefile.am while the script that runs the tests
> is the perl script tests/runtests.pl. The perl script would have to parse
> the Makefile.am file to figure this out or something.
Sounds scary :-) What about adding a new rule to tests/data/Makefile.am?
list-test:
@echo $(EXTRA_DIST)
You can then operate with something like "make -f Makefile.am list-test" from
perl and make(1) does the parsing job for you. Or perhaps on the generated
Makefile instead?
Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-10