Skip to content

Commit

Permalink
node: exclude snapshot tests in Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
canepat committed Jul 12, 2023
1 parent 57726e0 commit 6d243d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions silkworm/node/snapshot/repository_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@

namespace silkworm::snapshot {

// Exclude tests from Windows build
#ifndef _WIN32

TEST_CASE("SnapshotRepository::SnapshotRepository", "[silkworm][node][snapshot]") {
test_util::SetLogVerbosityGuard guard{log::Level::kNone};
CHECK_NOTHROW(SnapshotRepository{SnapshotSettings{}});
Expand Down Expand Up @@ -201,4 +204,6 @@ TEST_CASE("SnapshotRepository::find_segment", "[silkworm][node][snapshot]") {
}
}

#endif // _WIN32

} // namespace silkworm::snapshot

0 comments on commit 6d243d8

Please sign in to comment.