[pacman-dev] A makepkg test suite

Allan McRae allan at archlinux.org
Fri Jul 12 18:39:12 EDT 2013


On 13/07/13 05:56, Dave Reisner wrote:
> 1) Break out all functionality that needs testing to a separate file.
> Everything in this broken out file *must* be in a function.
> 2) m4_include() the functions file somewhere in the new makepkg "main".

Or...  just split parts of makepkg out into a library.  See the top two
commit here for how I would go about this:

https://projects.archlinux.org/users/allan/pacman.git/log/?h=makepkg-split


I agree that this is the first thing that needs to be done to simplify
makepkg into a state where a testsuite begins making sense.

Allan


More information about the pacman-dev mailing list