[darcs-users] patch: disttest is default test and depends on distclean (was: patch: add makefile target named "disttest" which does the test currently written in _darcs/prefs/prefs)

David Roundy droundy at darcs.net
Mon Sep 1 22:11:16 UTC 2008


Alas, it turns out that this causes the test suite to fail, since make
disttest requires that the makefile be in adequate condition to run.

$ darcs check
The repository is consistent!                                                  
Running test...
GNUmakefile:6: autoconf.mk: No such file or directory
GNUmakefile:523: .depend: No such file or directory
autoconf
Please run ./configure to setup the build system.
make: *** [config.status] Error 1
Test failed!

David

On Mon, Sep 01, 2008 at 04:00:53PM -0600, zooko wrote:
> Yes, here you go:
>
> Mon Sep  1 10:43:42 MDT 2008  zooko at zooko.com
>   * add makefile target "disttest" which does the script currently  
> stored in _darcs/prefs/prefs
>   This way other things such as buildbot can easily run the same tests as 
> _darcs/prefs/prefs does.
>   It is named "disttest" because it is analogous to "distclean" inasmuch 
> as it blows away your object files and changes your ./configure.
>   Also remove an obsolete .PHONY target.
>
> Mon Sep  1 15:57:46 MDT 2008  zooko at zooko.com
>   * disttest depends on distclean, and the "test" pref runs "make  
> disttest"


More information about the darcs-users mailing list