- Make sure testsuite passes with "exception-handling=off". Requires using a custom mini-timer since Boost.Timer depends on Boost.Chrono, and Boost.Chrono's dll does not compile without exceptions.

This commit is contained in:
Ion Gaztañaga
2020-10-22 23:12:51 +02:00
parent ac4d3feed1
commit 75eb880a56
7 changed files with 235 additions and 23 deletions
+2 -1
View File
@@ -22,6 +22,7 @@
#include <boost/move/algo/adaptive_sort.hpp>
#include <boost/move/core.hpp>
#include <cstdlib>
template<class T>
bool test_random_shuffled(std::size_t const element_count, std::size_t const num_keys, std::size_t const num_iter)
@@ -53,7 +54,7 @@ bool test_random_shuffled(std::size_t const element_count, std::size_t const num
if (!is_order_type_ordered(elements.get(), element_count))
{
std::cout << "\n ERROR\n";
throw int(0);
std::abort();
}
}
return true;