tests/openpgp: Reimplement tests in Scheme.
authorJustus Winter <justus@g10code.com>
Thu, 7 Jan 2016 16:01:45 +0000 (17:01 +0100)
committerJustus Winter <justus@g10code.com>
Fri, 17 Jun 2016 09:57:12 +0000 (11:57 +0200)
commit9609cb20e4caee739b9fc4fd36797029d2970041
tree052eaa0ad4afda93f4bd7eec4c90886cf72f778e
parentd2ce3f9eee34e380536049c0c9d26ed66273f094
tests/openpgp: Reimplement tests in Scheme.

* Makefile.am: Build the test infrastructure on Windows.
* tests/openpgp/Makefile.am (required_pgms): Add gpgscm.
(TESTS_ENVIRONMENT): Make sure gpgscm and the libraries are found.
(TESTS): Replace tests with the new Scheme implementations.
* tests/openpgp/4gb-packet.scm: New file.
* tests/openpgp/README: Likewise.
* tests/openpgp/armdetach.scm: Likewise.
* tests/openpgp/armdetachm.scm: Likewise.
* tests/openpgp/armencrypt.scm: Likewise.
* tests/openpgp/armencryptp.scm: Likewise.
* tests/openpgp/armor.scm: Likewise.
* tests/openpgp/armsignencrypt.scm: Likewise.
* tests/openpgp/armsigs.scm: Likewise.
* tests/openpgp/clearsig.scm: Likewise.
* tests/openpgp/conventional-mdc.scm: Likewise.
* tests/openpgp/conventional.scm: Likewise.
* tests/openpgp/decrypt-dsa.scm: Likewise.
* tests/openpgp/decrypt.scm: Likewise.
* tests/openpgp/default-key.scm: Likewise.
* tests/openpgp/defs.scm: Likewise.
* tests/openpgp/detach.scm: Likewise.
* tests/openpgp/detachm.scm: Likewise.
* tests/openpgp/ecc.scm: Likewise.
* tests/openpgp/encrypt-dsa.scm: Likewise.
* tests/openpgp/encrypt.scm: Likewise.
* tests/openpgp/encryptp.scm: Likewise.
* tests/openpgp/finish.scm: Likewise.
* tests/openpgp/genkey1024.scm: Likewise.
* tests/openpgp/gpgtar.scm: Likewise.
* tests/openpgp/import.scm: Likewise.
* tests/openpgp/mds.scm: Likewise.
* tests/openpgp/multisig.scm: Likewise.
* tests/openpgp/run-tests.scm: Likewise.
* tests/openpgp/seat.scm: Likewise.
* tests/openpgp/setup.scm: Likewise.
* tests/openpgp/signencrypt-dsa.scm: Likewise.
* tests/openpgp/signencrypt.scm: Likewise.
* tests/openpgp/sigs-dsa.scm: Likewise.
* tests/openpgp/sigs.scm: Likewise.
* tests/openpgp/use-exact-key.scm: Likewise.
* tests/openpgp/verify.scm: Likewise.
* tests/openpgp/version.scm: Likewise.

Signed-off-by: Justus Winter <justus@g10code.com>
40 files changed:
Makefile.am
tests/openpgp/4gb-packet.scm [new file with mode: 0755]
tests/openpgp/Makefile.am
tests/openpgp/README [new file with mode: 0644]
tests/openpgp/armdetach.scm [new file with mode: 0755]
tests/openpgp/armdetachm.scm [new file with mode: 0755]
tests/openpgp/armencrypt.scm [new file with mode: 0755]
tests/openpgp/armencryptp.scm [new file with mode: 0755]
tests/openpgp/armor.scm [new file with mode: 0755]
tests/openpgp/armsignencrypt.scm [new file with mode: 0755]
tests/openpgp/armsigs.scm [new file with mode: 0755]
tests/openpgp/clearsig.scm [new file with mode: 0755]
tests/openpgp/conventional-mdc.scm [new file with mode: 0755]
tests/openpgp/conventional.scm [new file with mode: 0755]
tests/openpgp/decrypt-dsa.scm [new file with mode: 0755]
tests/openpgp/decrypt.scm [new file with mode: 0755]
tests/openpgp/default-key.scm [new file with mode: 0755]
tests/openpgp/defs.scm [new file with mode: 0644]
tests/openpgp/detach.scm [new file with mode: 0755]
tests/openpgp/detachm.scm [new file with mode: 0755]
tests/openpgp/ecc.scm [new file with mode: 0755]
tests/openpgp/encrypt-dsa.scm [new file with mode: 0755]
tests/openpgp/encrypt.scm [new file with mode: 0755]
tests/openpgp/encryptp.scm [new file with mode: 0755]
tests/openpgp/finish.scm [new file with mode: 0755]
tests/openpgp/genkey1024.scm [new file with mode: 0755]
tests/openpgp/gpgtar.scm [new file with mode: 0755]
tests/openpgp/import.scm [new file with mode: 0755]
tests/openpgp/mds.scm [new file with mode: 0755]
tests/openpgp/multisig.scm [new file with mode: 0755]
tests/openpgp/run-tests.scm [new file with mode: 0644]
tests/openpgp/seat.scm [new file with mode: 0755]
tests/openpgp/setup.scm [new file with mode: 0755]
tests/openpgp/signencrypt-dsa.scm [new file with mode: 0755]
tests/openpgp/signencrypt.scm [new file with mode: 0755]
tests/openpgp/sigs-dsa.scm [new file with mode: 0755]
tests/openpgp/sigs.scm [new file with mode: 0755]
tests/openpgp/use-exact-key.scm [new file with mode: 0755]
tests/openpgp/verify.scm [new file with mode: 0755]
tests/openpgp/version.scm [new file with mode: 0755]