1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-30 02:32:46 +02:00
gnupg/tests/gpgscm
Justus Winter f4365790da
tests: Make it possible to run all tests using our infrastructure.
* Makefile.am (TESTS_ENVIRONMENT): New variable.
(check-all): New phony target to run all tests.
* tests/gpgme/gpgme-defs.scm (have-gpgme?): New function that tests
whether the GPGME test suite is available instead of exiting the
process.
* tests/gpgscm/init.scm (export): New macro.
* tests/gpgscm/tests.scm (run-tests): New function.
(load-tests): Likewise.
* tests/gpgme/run-tests.scm: Simplify and move the parsing of the list
of tests to 'all-tests.scm'.
* tests/gpgsm/run-tests.scm: Likewise.
* tests/migrations/run-tests.scm: Likewise.
* tests/openpgp/run-tests.scm: Likewise.
* tests/gpgme/Makefile.am: To select the tests to run, use the
variable 'TESTS'.  This harmonizes the interface with the automake
test suite.
* tests/gpgsm/Makefile.am: Likewise.
* tests/migrations/Makefile.am: Likewise.
* tests/openpgp/Makefile.am: Likewise.
* tests/openpgp/README: Likewise.
* agent/all-tests.scm: New file.
* common/all-tests.scm: Likewise.
* g10/all-tests.scm: Likewise.
* g13/all-tests.scm: Likewise.
* tests/gpgme/all-tests.scm: Likewise.
* tests/gpgsm/all-tests.scm: Likewise.
* tests/migrations/all-tests.scm: Likewise.
* tests/openpgp/all-tests.scm: Likewise.
* tests/run-tests.scm: Likewise.
--

This change allows us to run all tests in parallel and write one XML
report capturing the results of every test.  It also lays the
foundation to parametrize test suites.

Signed-off-by: Justus Winter <justus@g10code.com>
2017-05-11 18:12:37 +02:00
..
ffi-private.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ffi.c tests,w32: Use GetTempPath to get the path for temporary files. 2017-03-21 15:52:47 +01:00
ffi.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ffi.scm tests: Check expiration times of created keys. 2017-02-15 14:53:07 +01:00
gnupg.scm tests: Move common functionality. 2017-04-11 10:43:52 +02:00
init.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
lib.scm gpgscm: Emit JUnit-style XML reports. 2017-04-24 14:28:57 +02:00
LICENSE.TinySCHEME Add license notices for TinySCHEME. 2016-06-17 18:53:45 +02:00
main.c gpgscm: Emit JUnit-style XML reports. 2017-04-24 14:28:57 +02:00
Makefile.am tests: Move the makefile parser. 2017-05-11 17:41:03 +02:00
makefile.scm tests: Move the makefile parser. 2017-05-11 17:41:03 +02:00
Manual.txt Fix more spelling 2016-09-17 16:00:37 +09:00
opdefines.h gpgscm: Make tags mandatory. 2017-04-10 14:57:30 +02:00
private.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
repl.scm gpgscm: Better error reporting. 2016-12-08 17:22:50 +01:00
scheme-config.h gpgscm: Use system strlwr if available. 2017-03-07 14:33:27 +01:00
scheme-private.h gpgscm: Create and re-use frame objects. 2017-05-03 15:36:16 +02:00
scheme.c gpgscm: Create and re-use frame objects. 2017-05-03 15:36:16 +02:00
scheme.h gpgscm: Mmap script files. 2017-04-10 14:57:35 +02:00
small-integers.h gpgscm: Allocate small integers in the rodata section. 2017-04-07 13:50:20 +02:00
t-child.c gpgscm: Fix test program. 2017-04-12 12:05:53 +09:00
t-child.scm gpgscm: Fix test. 2017-04-24 15:47:29 +02:00
tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
time.scm tests: Check expiration times of created keys. 2017-02-15 14:53:07 +01:00
xml.scm gpgscm: Emit JUnit-style XML reports. 2017-04-24 14:28:57 +02:00