tests: Speed up benchmarks in regression test mode.
authorWerner Koch <wk@gnupg.org>
Tue, 22 Oct 2013 12:26:53 +0000 (14:26 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 9 Dec 2013 08:07:42 +0000 (09:07 +0100)
commit2e5354fe8db5288939733d0fb63ad4c87bc20105
tree8a641383500fc82cf52bd24b1e1e99a1f3dd502f
parent8072e9fa4b42ae8e65e266aa158fd903f1bb0927
tests: Speed up benchmarks in regression test mode.

* tests/tsexp.c (check_extract_param): Fix compiler warning.
* tests/Makefile.am (TESTS_ENVIRONMENT): Set GCRYPT_IN_REGRESSION_TEST.
* tests/bench-slope.c (main): Speed up if in regression test mode.
* tests/benchmark.c (main): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
tests/Makefile.am
tests/bench-slope.c
tests/benchmark.c
tests/tsexp.c