Import/Export tests enabled for the CPU plugin (#7735)
This commit is contained in:
parent
1f5355cd07
commit
4bf8d15793
@ -69,8 +69,6 @@ std::vector<std::string> disabledTestPatterns() {
|
|||||||
|
|
||||||
// TODO: 57562 No dynamic output shape support
|
// TODO: 57562 No dynamic output shape support
|
||||||
R"(.*NonZeroLayerTest.*)",
|
R"(.*NonZeroLayerTest.*)",
|
||||||
// need to implement Export / Import
|
|
||||||
R"(.*IEClassImportExportTestP.*)",
|
|
||||||
// CVS-58963: Not implemented yet
|
// CVS-58963: Not implemented yet
|
||||||
R"(.*Behavior.*InferRequest.*OutOfFirstOutIsInputForSecondNetwork.*)",
|
R"(.*Behavior.*InferRequest.*OutOfFirstOutIsInputForSecondNetwork.*)",
|
||||||
// Not expected behavior
|
// Not expected behavior
|
||||||
|
@ -557,7 +557,7 @@ TEST_P(IEClassImportExportTestP, smoke_ExportUsingFileNameImportFromStreamNoThro
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
std::ifstream strm(fileName);
|
std::ifstream strm(fileName, std::ifstream::binary | std::ifstream::in);
|
||||||
ASSERT_NO_THROW(executableNetwork = ie.ImportNetwork(strm, deviceName));
|
ASSERT_NO_THROW(executableNetwork = ie.ImportNetwork(strm, deviceName));
|
||||||
}
|
}
|
||||||
ASSERT_EQ(0, remove(fileName.c_str()));
|
ASSERT_EQ(0, remove(fileName.c_str()));
|
||||||
|
Loading…
Reference in New Issue
Block a user