diff options
author | Justus Winter <[email protected]> | 2017-03-09 12:26:06 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-03-09 12:26:06 +0000 |
commit | cca91a3f8f7e3e36b7149fc93f7b6df11d21eb1d (patch) | |
tree | a3eb93f9c38c4ce6fbcb767dc5e65b41dbdcac00 /tests/migrations | |
parent | wks: Put stdout into binary mode for Windows at another place. (diff) | |
download | gnupg-cca91a3f8f7e3e36b7149fc93f7b6df11d21eb1d.tar.gz gnupg-cca91a3f8f7e3e36b7149fc93f7b6df11d21eb1d.zip |
tests: Rework environment setup.
* tests/gpgscm/tests.scm (test::scm): Add a setup argument.
(test::binary): Likewise.
(run-tests-parallel): Remove setup parameter.
(run-tests-sequential): Likewise.
(make-environment-cache): New function that handles the cache
protocol.
* tests/gpgme/run-tests.scm: Adapt accordingly.
* tests/gpgsm/run-tests.scm: Likewise.
* tests/migrations/run-tests.scm: Likewise.
* tests/openpgp/run-tests.scm: Likewise.
--
This change allows us to have different environments for tests. This
is needed to run more GPGME tests, and to increase concurrency while
running all tests.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/migrations')
-rw-r--r-- | tests/migrations/run-tests.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/migrations/run-tests.scm b/tests/migrations/run-tests.scm index 069af5b47..b4ad260bb 100644 --- a/tests/migrations/run-tests.scm +++ b/tests/migrations/run-tests.scm @@ -22,5 +22,4 @@ (> (length tests) 1)) run-tests-parallel run-tests-sequential))) - (runner (test::scm "setup.scm" "setup.scm") - (map (lambda (t) (test::scm t t)) tests))) + (runner (map (lambda (t) (test::scm #f t t)) tests))) |