From 4c4aea6abd680b62132ead1c9cc943e3e489271d Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Thu, 20 Nov 2025 17:45:28 +0100 Subject: enable _GLIBCXX_ASSERTIONS for sanitizer tests --- test/math/millerRabin.base32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/math/millerRabin.base32.cpp') diff --git a/test/math/millerRabin.base32.cpp b/test/math/millerRabin.base32.cpp index e9a4b57..70be2f8 100644 --- a/test/math/millerRabin.base32.cpp +++ b/test/math/millerRabin.base32.cpp @@ -98,7 +98,7 @@ void extra_tests() { bool expected = ssize(factors) == 1 && factors.begin()->second == 1; if (got != expected) cerr << "error: " << x << FAIL; } - if (t.time > 10) cerr << "too slow" << FAIL; + if (!sanitize && t.time > 10) cerr << "too slow" << FAIL; cerr << "stress tested: " << t.time << "ms" << endl; } -- cgit v1.2.3