[arch-projects] [dbscripts] [PATCH 1/2] Make tests much more portable and usable

Pierre Schmitz pierre at archlinux.de
Mon Jul 25 14:48:53 EDT 2011


On Tue, 28 Jun 2011 21:58:14 -0500, Dan McGee wrote:
> Using 'sudo' in a test? Not on my machine, I don't care how secure it
> should be, it is totally unnecessary, not to mention the annoyance of
> password prompts, needing the chroot setups, etc. Instead, use makepkg
> directly along with some very vanilla makepkg.conf config files to do
> the work.  This makes for a more reproducable environment as far as
> makepkg settings goes.

I prefer using devtools here instead of duplicating tools. This is only
a test suite and packages need to be built only once.

This way we also make sure we get the same packages as a packager would
get.

Also your approach would need gcc-multilib to be able to build 32bit
packages.

-- 
Pierre Schmitz, https://users.archlinux.de/~pierre


More information about the arch-projects mailing list