diff options
author | Jack Lloyd <[email protected]> | 2017-03-19 15:12:21 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-03-19 15:12:21 -0400 |
commit | 6817d1a2332b822e7f12e8904ad8e27081d6c827 (patch) | |
tree | 81165abcb778f21dd0931eaccd2a5734bee1356e /src/tests/test_os_utils.cpp | |
parent | 5c4274fcc0bee0367a51b669e1a2953a1fec6684 (diff) |
No C++ exceptions from cpu probe functions. See GH #920
Diffstat (limited to 'src/tests/test_os_utils.cpp')
-rw-r--r-- | src/tests/test_os_utils.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tests/test_os_utils.cpp b/src/tests/test_os_utils.cpp index 58858a4c2..d779f41de 100644 --- a/src/tests/test_os_utils.cpp +++ b/src/tests/test_os_utils.cpp @@ -146,10 +146,6 @@ class OS_Utils_Tests : public Test result.confirm("Correct result returned by working probe fn", run_rc == 5); - std::function<int ()> throw_fn = []() -> int { throw 3.14159; return 5; }; - const int throw_rc = Botan::OS::run_cpu_instruction_probe(throw_fn); - result.confirm("Error return if probe function threw exception", throw_rc < 0); - std::function<int ()> crash_probe; #if defined(BOTAN_TARGET_COMPILER_IS_MSVC) |