Mailing List Archive

[PATCH 1/7] tests/bench-slope: skip CPU warm-up in regression tests
* tests/bench-slope.c (warm_up_cpu): Skip in regression tests.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
---
tests/bench-slope.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/tests/bench-slope.c b/tests/bench-slope.c
index 99b444e0..f8031e5e 100644
--- a/tests/bench-slope.c
+++ b/tests/bench-slope.c
@@ -2966,6 +2966,9 @@ warm_up_cpu (void)
{
struct nsec_time start, end;

+ if (in_regression_test)
+ return;
+
get_nsec_time (&start);
do
{
--
2.37.2


_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel