summaryrefslogtreecommitdiff
path: root/tests/hashtest-256g.in
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-12-16 11:43:22 +0100
committerWerner Koch <wk@gnupg.org>2013-12-16 11:49:05 +0100
commita6b9304a889397ac98e1c2c4ac3e178669d94492 (patch)
tree690e96f72f80471cf49b3cfa864a5124ecdf0623 /tests/hashtest-256g.in
parent5a7ce59396fe56f0d681df314bfbdb5f7732d4b1 (diff)
downloadlibgcrypt-a6b9304a889397ac98e1c2c4ac3e178669d94492.tar.gz
Add configure option --enable-large-data-tests.
* configure.ac: Add option --enable-large-data-tests. * tests/hashtest-256g.in: New. * tests/Makefile.am (EXTRA_DIST): Add hashtest-256g.in. (TESTS): Split up into tests_bin, tests_bin_last, tests_sh, and tests_sh_last. (tests_sh_last): Add hashtest-256g (noinst_PROGRAMS): Add only tests_bin and tests_bin_last. (bench-slope.log, hashtest-256g.log): New rules to enforce serial run. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tests/hashtest-256g.in')
-rwxr-xr-xtests/hashtest-256g.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/hashtest-256g.in b/tests/hashtest-256g.in
new file mode 100755
index 00000000..02ab3f61
--- /dev/null
+++ b/tests/hashtest-256g.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+algos="SHA1 SHA256"
+
+test "@RUN_LARGE_DATA_TESTS@" = yes || exit 77
+echo " now running 256 GiB tests for $algos - this takes looong"
+exec ./hashtest --gigs 256 $algos