Skip to content

Commit

Permalink
disable H5 test when interface disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
20DM committed Oct 22, 2024
1 parent 53421b3 commit 11aa53b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/tests/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ TEST_CASE("read_mutiple_vis") {
CHECK(uv_data.weights.isApprox(uv_multi.weights.segment(i * uv_data.size(), uv_data.size())));
}
}
#ifdef PURIFY_H5
SECTION("one HDF5 file") {
const std::vector<std::string> names = {h5_file};
const auto uv_data = utilities::read_visibility(h5_file);
Expand All @@ -157,6 +158,7 @@ TEST_CASE("read_mutiple_vis") {
CHECK(uv_data.weights.isApprox(uv_multi.weights.segment(i * uv_data.size(), uv_data.size())));
}
}
#endif
}
TEST_CASE("utilities [file exists]", "[file exists]") {
std::string vis_file = vla_filename("at166B.3C129.c0.vis");
Expand Down

0 comments on commit 11aa53b

Please sign in to comment.