diff --git a/CMakeLists.txt b/CMakeLists.txt index cb772ab..334d19d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,7 @@ add_subdirectory(apps) # warthog_top_level() -if(_is_top) +if(${_warthog_is_top}) option(BUILD_TESTING "Building testing suite" OFF) include(CTest) include(FetchContent) diff --git a/tests/memory/bittable.cxx b/tests/memory/bittable.cxx index 2d7f356..e7272f2 100644 --- a/tests/memory/bittable.cxx +++ b/tests/memory/bittable.cxx @@ -32,7 +32,7 @@ test_bittable_vector(const bt& b, const vec& v) TEMPLATE_TEST_CASE_SIG( "bittable random testing", "[bittable][rng]", ((typename T, size_t B), T, B), (uint8_t, 1), (uint8_t, 2), (uint8_t, 8), - (uint32_t, 1), (uint32_t, 16), (uint64_t, 32), (uint64_t, 64)) + (uint32_t, 1), (uint32_t, 8), (uint64_t, 4), (uint64_t, 8)) { using bittable = warthog::memory::bittable; auto width = GENERATE(1, 128, 1000);