[pacman-dev] [PATCH v5] Add testrunner for makepkg-template

Allan McRae allan at archlinux.org
Fri Jan 2 11:49:33 UTC 2015


On 29/12/14 19:52, Florian Pritz wrote:
> On 29.12.2014 04:50, Andrew Gregory wrote:
>>> diff --git a/test/scripts/makepkg-template_test.sh b/test/scripts/makepkg-template_test.sh
>>> new file mode 100755
>>> index 0000000..60cbb0c
>>> --- /dev/null
>>> +++ b/test/scripts/makepkg-template_test.sh
>>> @@ -0,0 +1,56 @@
>>> +#!/bin/bash
>>> +
>>> +source "$(dirname "$0")"/../tap.sh || exit 1
>>> +
>>> +script=${1:-${PMTEST_SCRIPT_DIR}/makepkg-template}
>>
>> That slash needs to be removed so that when PMTEST_SCRIPT_DIR isn't
>> defined we'll look for "makepkg-template" not "/makepkg-template".
>>
> 
> Fixed on my working branch
> 


make distcheck:

ERROR: test/scripts/makepkg-template_test.sh
============================================

Bail out! makepkg-template executable (../scripts/makepkg-template)
could not be located
ERROR: test/scripts/makepkg-template_test.sh - Bail out!
makepkg-template executable (../scripts/makepkg-template) could not be
located


More information about the pacman-dev mailing list