diff options
author | Werner Koch <wk@gnupg.org> | 2012-12-03 16:18:56 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-12-03 20:47:38 +0100 |
commit | 76c622e24a07f7c826812be173aa173b4334776b (patch) | |
tree | 1d13abf15f08eff5251b6d9dd57175785da23675 /tests/Makefile.am | |
parent | 75760021b511ba438606af746431223357e7a155 (diff) | |
download | libgcrypt-76c622e24a07f7c826812be173aa173b4334776b.tar.gz |
tests: Allow use of random.c under Windows.
* tests/Makefile.am (TESTS): Always include random.c
* tests/random.c [!W32]: Include sys/wait.h.
(inf): New.
(check_forking, check_nonce_forking): Print a notice what will be done.
(main) [W32]: Do not call signal.
--
This change help to run future tests under Windows. The current two
tests are not applicable to Windows.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index f1f9e6f3..d337840f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -20,14 +20,9 @@ TESTS = version t-mpi-bit prime basic \ mpitests tsexp keygen pubkey hmac keygrip fips186-dsa aeswrap \ - curves t-kdf pkcs1v2 + curves t-kdf pkcs1v2 random -# random.c uses fork() thus a test for W32 does not make any sense. -if !HAVE_W32_SYSTEM -TESTS += random -endif - # The last test to run. TESTS += benchmark |