From 82c81630679b44bd1a3f7842152f12179428c9f7 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 31 Mar 2014 10:41:40 +0200 Subject: Enable repetition in mixing type unit test --- test/mixingtypes.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/mixingtypes.cpp') diff --git a/test/mixingtypes.cpp b/test/mixingtypes.cpp index 6c2f74875..ada2f69d3 100644 --- a/test/mixingtypes.cpp +++ b/test/mixingtypes.cpp @@ -126,7 +126,9 @@ template void mixingtypes(int size = SizeAtCompileType) void test_mixingtypes() { - CALL_SUBTEST_1(mixingtypes<3>()); - CALL_SUBTEST_2(mixingtypes<4>()); - CALL_SUBTEST_3(mixingtypes(internal::random(1,EIGEN_TEST_MAX_SIZE))); + for(int i = 0; i < g_repeat; i++) { + CALL_SUBTEST_1(mixingtypes<3>()); + CALL_SUBTEST_2(mixingtypes<4>()); + CALL_SUBTEST_3(mixingtypes(internal::random(1,EIGEN_TEST_MAX_SIZE))); + } } -- cgit v1.2.3