From 304e362e85454664e9bf939e6448b3b089ef5976 Mon Sep 17 00:00:00 2001 From: "Dreyer, Lukas" Date: Fri, 28 Feb 2025 15:08:34 +0100 Subject: [PATCH] Reduce runtime for TEST_LEVEL == 2 --- test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx b/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx index 94a4990bfd..98b8f3e0f0 100644 --- a/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx +++ b/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx @@ -40,13 +40,18 @@ class forest_iterate: public testing::TestWithParam { void SetUp () override { +#if T8CODE_TEST_LEVEL >= 2 + constexpr int level = 3; +#else + constexpr int level = 4; +#endif t8_cmesh_t cmesh = GetParam ()->cmesh_create (); if (t8_cmesh_is_empty (cmesh)) { /* empty cmeshes are currently not supported */ t8_cmesh_unref (&cmesh); GTEST_SKIP (); } - forest = t8_forest_new_uniform (cmesh, t8_scheme_new_default (), 4, 0, sc_MPI_COMM_WORLD); + forest = t8_forest_new_uniform (cmesh, t8_scheme_new_default (), level, 0, sc_MPI_COMM_WORLD); } void TearDown () override