'Determine the full path of a binary.
:param name: Name of the script
:return: Full path'

def bin_path(self, name):

    for d in self.bin_directories:
        p = os.path.join(d, name)
        if os.path.isfile(p):
            return p
    else:
        raise SkipTest(('Unable    to    find    binary    %s' % name))
