Exclude __wasm__ from testing external prepacks

This commit is contained in:
Dmitri Smirnov 2024-12-11 10:38:03 -08:00
Родитель 0dfac49923
Коммит eccd758177
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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 =
@ -1272,6 +1273,7 @@ TEST_F(SessionStateTestSharedInitalizersWithPrePacking, TestPrepackedSerializati
ASSERT_EQ(prepacked_for_serialization.GetNumberOfKeyedBlobs(), 1U);
}
}
#endif // __wasm__
INSTANTIATE_TEST_SUITE_P(SessionStateTests,
SessionStatePrepackingTest,