summaryrefslogtreecommitdiff
path: root/modules/crypto/md5-buffer-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-09-19 01:35:24 +0200
committerBruno Haible <bruno@clisp.org>2021-09-19 01:35:43 +0200
commitd8a1c91c657909fc0b2148f9e47b6eb8ef79d8ad (patch)
tree6ce5ce0089efbd7a5558dc8736f27292d0ebf6a9 /modules/crypto/md5-buffer-tests
parent439979c0004197d6e0dd67c7807f57edacdf8a0d (diff)
downloadgnulib-d8a1c91c657909fc0b2148f9e47b6eb8ef79d8ad.tar.gz
md5-buffer tests: New module.
* tests/test-md5-buffer.c: New file, based on tests/test-md5.c. * tests/test-md5-stream.c: Renamed from tests/test-md5.c. (main): Remove md5-buffer tests. * modules/crypto/md5-buffer-tests: New file, based on modules/crypto/md5-tests. * modules/crypto/md5-tests: Remove tests that are now in modules/crypto/md5-buffer-tests. Test tests/test-md5-stream.c instead of tests/test-md5.c.
Diffstat (limited to 'modules/crypto/md5-buffer-tests')
-rw-r--r--modules/crypto/md5-buffer-tests18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/crypto/md5-buffer-tests b/modules/crypto/md5-buffer-tests
new file mode 100644
index 0000000000..cc07337f08
--- /dev/null
+++ b/modules/crypto/md5-buffer-tests
@@ -0,0 +1,18 @@
+Files:
+tests/test-md5-buffer.c
+tests/bench-md5.c
+tests/bench-digest.h
+
+Depends-on:
+c99
+getrusage
+gettimeofday
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-md5-buffer
+check_PROGRAMS += test-md5-buffer
+noinst_PROGRAMS += bench-md5
+test_md5_buffer_LDADD = $(LDADD) @LIB_CRYPTO@
+bench_md5_LDADD = $(LDADD) @LIB_CRYPTO@