Re: [Fink-devel] Package test suites

2006-09-13 Thread Matthew Sachs
Support for package test suites has been implemented in HEAD. Test suites will be run when building in maintainer mode (e.g. fink -m build foo). To add a test suite to your package, add an InfoTest field which contains a TestScript. The TestScript should exit with status 0 to indicate

Re: [Fink-devel] Package test suites

2006-09-13 Thread Alexander Hansen
On 9/13/06, Matthew Sachs [EMAIL PROTECTED] wrote: Support for package test suites has been implemented in HEAD. Test suites will be run when building in maintainer mode (e.g. fink -m build foo). To add a test suite to your package, add an InfoTest field which contains a TestScript. The

Re: [Fink-devel] Package test suites

2006-08-28 Thread Sebastien Maret
Matthew Sachs [EMAIL PROTECTED] writes: How many of you have packages which have test suites (make check, for instance) which it would be useful to run as part of the buildfink build? I know gmp has one which I'm often asked to run. If a significant number of packages have these,

Re: [Fink-devel] Package test suites

2006-08-28 Thread Matthew Sachs
On Aug 28, 2006, at 11:08, Sebastien Maret wrote: Matthew Sachs [EMAIL PROTECTED] writes: If a significant number of packages have [test suites], perhaps it's worth adding a way to specify it in the .info file (CheckScript?) . I could implement that feature and hook into it in buildfink

Re: [Fink-devel] Package test suites

2006-08-28 Thread Neil Tiffin
As a package maintainer I would like to see it invoked with option - T like fink -KkT rebuild package_name. Once I figure out how to run the tests and put the instructions in the .info file, I can then easily run them every time the package is upgraded. This would be a lot simpler than

Re: [Fink-devel] Package test suites

2006-08-28 Thread Chris Zubrzycki
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Aug 28, 2006, at 5:22 PM, Neil Tiffin wrote: As a package maintainer I would like to see it invoked with option - T like fink -KkT rebuild package_name. Once I figure out how to run the tests and put the instructions in the .info file, I can

Re: [Fink-devel] Package test suites

2006-08-28 Thread Daniel Macks
On Mon, Aug 28, 2006 at 05:42:08PM -0400, Chris Zubrzycki wrote: On Aug 28, 2006, at 5:22 PM, Neil Tiffin wrote: As a package maintainer I would like to see it invoked with option - T like fink -KkT rebuild package_name. Once I figure out how to run the tests and put the instructions in

Re: [Fink-devel] Package test suites

2006-08-28 Thread David Fang
There are also several different standards for even what command runs the tests. I guess 'make check' is the autotools standard, but lots of auto*-using packagers don't know that and have custom-written 'make test'. And the perl world long ago standardized on 'make test' (and we have a

Re: [Fink-devel] Package test suites

2006-08-28 Thread Benjamin Reed
David Fang wrote: Don't forget the fact that test-suites can add more dependencies, e.g. gcc requiring dejagnu and expect. A TestDepends/MaintainerDepends field might be useful. Ooh, that's a good point. This is starting to turn into a full-blown Feature. :) -- Benjamin Reed a.k.a.

Re: [Fink-devel] Package test suites

2006-08-28 Thread Daniel Macks
On Mon, Aug 28, 2006 at 05:56:52PM -0400, David Fang wrote: There are also several different standards for even what command runs the tests. I guess 'make check' is the autotools standard, but lots of auto*-using packagers don't know that and have custom-written 'make test'. And the perl

Re: [Fink-devel] Package test suites

2006-08-28 Thread Daniel E. Macks
Daniel Macks [EMAIL PROTECTED] said: On Mon, Aug 28, 2006 at 05:56:52PM -0400, David Fang wrote: There are also several different standards for even what command runs the tests. I guess 'make check' is the autotools standard, but lots of auto*-using packagers don't know that and have

Re: [Fink-devel] Package test suites

2006-08-28 Thread David Fang
David Fang wrote: Don't forget the fact that test-suites can add more dependencies, e.g. gcc requiring dejagnu and expect. A TestDepends/MaintainerDepends field might be useful. Ooh, that's a good point. This is starting to turn into a full-blown Feature. :) TestConflicts, anyone?

Re: [Fink-devel] Package test suites

2006-08-28 Thread Jean-François Mertens
On 28 Aug 2006, at 23:50, Daniel Macks wrote: On Mon, Aug 28, 2006 at 05:42:08PM -0400, Chris Zubrzycki wrote: On Aug 28, 2006, at 5:22 PM, Neil Tiffin wrote: As a package maintainer I would like to see it invoked with option - T like fink -KkT rebuild package_name. Once I figure out how

Re: [Fink-devel] Package test suites

2006-08-23 Thread David Fang
How many of you have packages which have test suites (make check, for instance) which it would be useful to run as part of the buildfink build? I know gmp has one which I'm often asked to run. If a significant number of packages have these, perhaps it's worth adding a way to specify it in