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

Port and clean behavior/ shared tests #1 #21860

Merged
merged 5 commits into from
Jan 4, 2024
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

#include "behavior/ov_plugin/version.hpp"

namespace ov {
namespace test {
namespace behavior {

INSTANTIATE_TEST_SUITE_P(smoke_Multi_BehaviorTests,
VersionTests,
::testing::Values(ov::test::utils::DEVICE_MULTI),
VersionTests::getTestCaseName);

INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests,
VersionTests,
::testing::Values(ov::test::utils::DEVICE_AUTO),
VersionTests::getTestCaseName);

} // namespace behavior
} // namespace test
} // namespace ov

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

#include "behavior/ov_plugin/version.hpp"

namespace ov {
namespace test {
namespace behavior {

INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests,
VersionTests,
::testing::Values(ov::test::utils::DEVICE_GPU),
VersionTests::getTestCaseName);

INSTANTIATE_TEST_SUITE_P(smoke_Hetero_BehaviorTests,
VersionTests,
::testing::Values(ov::test::utils::DEVICE_HETERO),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As my understanding, we should remove meta plugin tests cases from hardware plugin and put them
into conformance tests, am i right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the moment it isn't clear for me how tests should migrate to conformance scope. So let's merge as is in order to get rid of API1.0 cases, and when only 2.0 cases will be available, it should be easier to migrate

@iefode @sbalandi FYI

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @riverlijunjie @vurusovs meta plugins in the conformance scope are tested with the TEMPLATE plugin now.
All API 1.0 tests have been removed from the conformance scope, but there are some tests that have not yet been moved to the 2.0 scope and version tests were among them, so I will add these tests to conformance, thank you !

VersionTests::getTestCaseName);

} // namespace behavior
} // namespace test
} // namespace ov

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

#include "behavior/ov_plugin/version.hpp"

namespace ov {
namespace test {
namespace behavior {

INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests,
VersionTests,
::testing::Values(ov::test::utils::DEVICE_TEMPLATE),
VersionTests::getTestCaseName);

} // namespace behavior
} // namespace test
} // namespace ov

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading