tests: Check for gpgtar.

* tests/migrations/extended-pkf.scm: Skip test if gpgtar is not built.
* tests/migrations/from-classic.scm: Likewise.
* tests/openpgp/gpgtar.scm: Fix check for gpgtar.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-07-15 11:59:57 +02:00
parent 1ab8d36b83
commit 12a887050a
3 changed files with 8 additions and 2 deletions

View File

@ -19,6 +19,9 @@
(load (with-path "common.scm"))
(catch (skip "gpgtar not built")
(call-check `(,GPGTAR --help)))
(define src-tarball (in-srcdir "extended-pkf.tar.asc"))
(define (setup)

View File

@ -19,6 +19,9 @@
(load (with-path "common.scm"))
(catch (skip "gpgtar not built")
(call-check `(,GPGTAR --help)))
(define src-tarball (in-srcdir "from-classic.tar.asc"))
(define (setup)

View File

@ -19,8 +19,8 @@
(load (with-path "defs.scm"))
(unless (= 0 (call `(,(tool 'gpgtar) --help)))
(skip "gpgtar not installed"))
(catch (skip "gpgtar not built")
(call-check `(,(tool 'gpgtar) --help)))
(define testfiles (append plain-files data-files))
(define gpgargs