Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update catch2 #275

Merged
merged 2 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tdms/cmake/targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function(test_target)
FetchContent_Declare(
Catch2
GIT_REPOSITORY ${GITHUB_PREFIX}catchorg/Catch2.git
GIT_TAG v3.0.1
GIT_TAG v3.3.2
)

FetchContent_MakeAvailable(Catch2)
Expand Down
1 change: 1 addition & 0 deletions tdms/tests/unit/array_tests/test_DTilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ void DTildeTest::test_incorrect_number_of_fields() {
REQUIRE_THROWS_AS(dt.initialise(matlab_input, 0, 0), runtime_error);
}
SECTION("Struct with too few fields") {
SKIP("Causes segmentation violation.");
samcunliffe marked this conversation as resolved.
Show resolved Hide resolved
const char *too_few_names[1] = {"field1"};
create_struct_array(2, dimensions_2d, 3, too_few_names);
REQUIRE_THROWS_AS(dt.initialise(matlab_input, 0, 0), runtime_error);
Expand Down