[darcs-users] how to build a darcs executable that reports its version number correctly
David Roundy
daveroundy at gmail.com
Wed Jul 2 13:03:38 UTC 2008
On Tue, Jul 1, 2008 at 3:26 PM, zooko <zooko at zooko.com> wrote:
> Okay, I'm sorry that my bug report was complainy.
That's all right.
> I am somewhat interested in working on this aspect of the build system,
> actually. It is comparable to the "darcsver" tool that I use for various
> projects [1].
>
> I guess a good way to force myself to be explicit is to write a unit test.
> How about if I write a unit test that fails if ./darcs --version emits a
> version number earlier than the most recent tag?
No, that wouldn't be correct, since the version number is defined in
configure.ac. Just a script to reproduce the bug would be sufficient,
and could be extended to be a unit test.
David
More information about the darcs-users
mailing list