Re: Executing tests during package building?
On Mon, Aug 28, 2006 at 11:58:21PM +0900, Charles Plessy wrote:
> Le Mon, Aug 28, 2006 at 05:04:40PM +0300, Kari Pahula a écrit :
> > I don't know about a general policy, but I've myself set gecode to run
> > its test suite in debian/rules, excluding some of the slower buildds.
>
> Good idea, how do you do this?
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
...
-if echo $(DEB_HOST_GNU_TYPE) | grep -vcE '^(arm|m68k|s390)' ; then $(MAKE) test && LD_LIBRARY_PATH=. test/test ; fi
Reply to: