tests: Add feature to skip benchmarks.
authorWerner Koch <wk@gnupg.org>
Tue, 29 Oct 2013 14:01:01 +0000 (15:01 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 29 Oct 2013 14:01:01 +0000 (15:01 +0100)
commitba6bffafd17bea11985afc500022d66da261d59a
tree8333facefaffdbaa2f0e21f29c4cbc610362a481
parentc284f15db99e9cb135612de710199abb23baafd3
tests: Add feature to skip benchmarks.

* tests/benchmark.c (main): Add feature to skip the test.
* tests/bench-slope.c (main): Ditto.
(get_slope): Repace C++ style comment.
(double_cmp, cipher_bench, _hash_bench): Repalce system reserved
symbols.
--

During development a quick run of the regression is often useful,
however the benchmarks take a lot of time and thus this feature
allows to skip theses tests.

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