Add tests to testing
MODIFY
test/test_utils.hpp
test/test_utils.hpp
#include <thrust/execution_policy.h>
#include <thrust/host_vector.h>
+#include <thrust/mr/allocator.h>
+
#include "test_seed.hpp"
#include <algorithm>

MODIFY
test/test_vector_allocators.cpp
test/test_vector_allocators.cpp
#include "test_header.hpp"
-TESTS_DEFINE(VectorAllocatorTests, FullTestsParams);
-
template<typename BaseAlloc, bool PropagateOnSwap>
class stateful_allocator : public BaseAlloc
{
@@ -244,10 +242,10 @@ void TestVectorAllocatorPropagateOnSwap()
TEST(VectorAllocatorTests, TestVectorAllocatorPropagateOnSwapHost)
{
- TestVectorAllocatorPropagateOnSwap<host_vector>();
+ TestVectorAllocatorPropagateOnSwap<host_vector_nsp>();
}
TEST(VectorAllocatorTests, TestVectorAllocatorPropagateOnSwapDevice)
{
- TestVectorAllocatorPropagateOnSwap<device_vector>();
+ TestVectorAllocatorPropagateOnSwap<device_vector_nsp>();
}

MODIFY
testing/CMakeLists.txt
testing/CMakeLists.txt
@@ -37,6 +37,7 @@ endfunction()
add_thrust_test("adjacent_difference")
add_thrust_test("advance")
add_thrust_test("allocator")
+add_thrust_test("allocator_aware_policies")
add_thrust_test("binary_search")
add_thrust_test("binary_search_descending")
add_thrust_test("binary_search_vector")
@@ -87,6 +88,10 @@ add_thrust_test("min_and_max")
add_thrust_test("min_element")
add_thrust_test("minmax_element")
add_thrust_test("mismatch")
+add_thrust_test("mr_new")
+add_thrust_test("mr_disjoint_pool")
+add_thrust_test("mr_pool_options")
+add_thrust_test("mr_pool")
add_thrust_test("pair")
add_thrust_test("pair_reduce")
add_thrust_test("pair_scan_by_key")
@@ -158,6 +163,7 @@ add_thrust_test("unique")
add_thrust_test("unittest_static_assert")
add_thrust_test("unittest_tester")
add_thrust_test("vector")
+add_thrust_test("vector_allocators")
add_thrust_test("vector_insert")
add_thrust_test("vector_manipulation")
add_thrust_test("zip_iterator")

Add tests to testing