Skip to content

Commit

Permalink
Exclude __wasm__ from testing external prepacks
Browse files Browse the repository at this point in the history
  • Loading branch information
yuslepukhin committed Dec 11, 2024
1 parent 0dfac49 commit eccd758
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions onnxruntime/test/framework/session_state_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,7 @@ TEST_F(SessionStateTestSharedInitalizersWithPrePacking, test4) {
ASSERT_EQ(if_node_branches_shared_prepack_counter_2, static_cast<size_t>(2));
}

#ifndef __wasm__
// sharing is on
TEST_F(SessionStateTestSharedInitalizersWithPrePacking, TestPrepackedSerialization) {
const std::filesystem::path model_with_external_initializers =
Expand Down Expand Up @@ -1272,6 +1273,7 @@ TEST_F(SessionStateTestSharedInitalizersWithPrePacking, TestPrepackedSerializati
ASSERT_EQ(prepacked_for_serialization.GetNumberOfKeyedBlobs(), 1U);
}
}
#endif // __wasm__

INSTANTIATE_TEST_SUITE_P(SessionStateTests,
SessionStatePrepackingTest,
Expand Down

0 comments on commit eccd758

Please sign in to comment.