tests,w32: Fix locating the components.
authorJustus Winter <justus@g10code.com>
Wed, 4 Jan 2017 15:54:41 +0000 (16:54 +0100)
committerJustus Winter <justus@g10code.com>
Wed, 4 Jan 2017 15:54:41 +0000 (16:54 +0100)
commit28e149609da44fab600f6a11b385d1c8ca8e7eb9
tree293c98c3d06ac47ac4c8fb6b6c68cfc40c2ce71d
parent293a55bacdacec4501af3a396b14fd32e404e39e
tests,w32: Fix locating the components.

* tests/openpgp/defs.scm (percent-decode): New function.
(bin-prefix): New variable.
(installed?): Likewise.
(tool-hardcoded): Use the new variables.
(gpg-conf): Use the new function to decode the values.
(gpg-components): Do not use '--build-prefix' when 'installed?'.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/openpgp/defs.scm