diff options
author | Simon Warta <[email protected]> | 2015-08-09 17:27:49 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-08-09 17:27:49 +0200 |
commit | 480999c2820b0da995108d7474a74755cafd2924 (patch) | |
tree | 3bdea5c7b9390f64c80578e62a23a8190f2cc9fa | |
parent | bd562dd6d4ac89a5ab615c8811fb3aef8da703ad (diff) | |
parent | cf2dce5cf1c5d24b52472859a2102e870cea49a6 (diff) |
Merge pull request #242 from webmaster128/deactivate-failing-iterations-test
Deactivate tests that consistently fail in debug mode
-rw-r--r-- | src/tests/test_ffi.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp index 7f5908834..297351a98 100644 --- a/src/tests/test_ffi.cpp +++ b/src/tests/test_ffi.cpp @@ -152,6 +152,13 @@ TEST_CASE("FFI PBKDF", "[ffi]") passphrase.c_str(), salt.data(), salt.size(), 100, &iters_100ms), Equals(0)); + /* + * Tests deactivated due to consistetly failing in debug mode where -W0 is set + * (./configure.py --build-mode=debug). + * See also: https://github.com/randombit/botan/commit/30b0e3c88e94ba04c1843798f7ac74a008e01d9b + */ + + /* CHECK(iters_10ms >= 10000); INFO("Iterations " << iters_10ms << " " << iters_100ms); @@ -159,6 +166,7 @@ TEST_CASE("FFI PBKDF", "[ffi]") // Loose timing to avoid false positives on CI CHECK(ratio >= 3); CHECK(ratio <= 15); + */ } TEST_CASE("FFI KDF", "[ffi]") |