[pacman-dev] [PATCH] makepkg: Add check() function for running test suites

Allan McRae allan at archlinux.org
Wed Dec 15 09:31:26 EST 2010


On 16/12/10 00:12, Allan McRae wrote:

<snip>

> @@ -1547,6 +1555,7 @@ usage() {
>   	echo "$(gettext "  --asroot         Allow makepkg to run as root user")"
>   	printf "$(gettext "  --config<file>   Use an alternate config file (instead of '%s')")\n" "$confdir/makepkg.conf"
>   	echo "$(gettext "  --holdver        Prevent automatic version bumping for development PKGBUILDs")"
> +	echo "$(gettext "  --nocheck        Do not run the check() function in the '%s'")" "$BUILDSCRIPT"
>   	echo "$(gettext "  --pkg<list>      Only build listed packages from a split package")"
>   	echo "$(gettext "  --skipinteg      Do not fail when integrity checks are missing")"
>   	echo "$(gettext "  --source         Generate a source-only tarball without downloaded sources")"

And of course I really used printf here and not echo...   fixed on my 
working branch.

Allan


More information about the pacman-dev mailing list