We'll be taking GitLab down for maintenance around 22 in the evening on the 15th of September, so this Sunday. Let us know (tt.mpi-cbg.de) if you experience any issues with it after the maintenance period.

Commit e0a74d34 authored by Peter Steinbach's avatar Peter Steinbach

updated test logic in case a device name was not found by cmake

parent a7b5f1ed
Pipeline #634 passed with stages
in 1 minute and 20 seconds
......@@ -39,10 +39,11 @@ TEST_CASE_METHOD( host_reference, "machine_specific" ){
auto value = compass::runtime::device_name();
REQUIRE(value.size() == expected_device_name.size());
if(expected_device_name.size()>0){
REQUIRE(value.size() == expected_device_name.size());
REQUIRE_THAT(value, Catch::Matchers::Contains(expected_device_name) );
} else {
REQUIRE(value.size()>0);
}
}
......
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