Commit 3be9d77c authored by steinbac's avatar steinbac

weaked the requirement on finding the cache size as it's not so easy

to find in VMs (e.g. used by appveyor)
parent b0e196ad
......@@ -113,7 +113,10 @@ TEST_CASE_METHOD( host_reference, "machine_specific" ){
auto value = compass::runtime::size::cache::level(2);
REQUIRE(value >> 10 ==expected_L2_size_kB);
REQUIRE(value > 0);
if(expected_L2_size_kB){
REQUIRE(value >> 10 ==expected_L2_size_kB);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment