Hi folks,

Are there any "best practices" on how to handle test suite in Debian ?

Currently the best way seems to use the automake's testsuite, and call
dh_auto_test after dh_auto_build - but it generally needs some hacking
wrt. library and binary pathes - ie. something ugly like:

# Makefile.am
TESTS_ENVIRONMENT =
LD_LIBRARY_PATH=$(top_builddir)/src/.libs:$$LD_LIBRARY_PATH
TESTS_ENVIRONMENT += PATH=$(top_builddir)/src/.libs:$$PATH
TESTS = *.test

There might be better ways (and more portable - are we sure that
LD_LIBRARY_PATH is awlays the right one ?) ?


Regards,
Xavier


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51ab9601.7000...@httrack.com

Reply via email to