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 16d264e4 authored by Peter Steinbach's avatar Peter Steinbach

comparing the device name is optional

parent efda37c0
......@@ -39,7 +39,9 @@ TEST_CASE_METHOD( host_reference, "machine_specific" ){
auto value = compass::runtime::device_name();
REQUIRE(value.empty()!=true);
if(expected_device_name.size() > 0){
REQUIRE(value.empty()!=true);}
REQUIRE_THAT(value, Catch::Matchers::Contains(expected_device_name) );
}
......
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