aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-08-09 17:26:34 +0200
committerSimon Warta <[email protected]>2015-08-09 17:27:35 +0200
commitcf2dce5cf1c5d24b52472859a2102e870cea49a6 (patch)
tree3bdea5c7b9390f64c80578e62a23a8190f2cc9fa /src/tests
parentbd562dd6d4ac89a5ab615c8811fb3aef8da703ad (diff)
Deactivate tests that consistently fail in debug mode
[ci skip]
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_ffi.cpp8
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]")