Skip to content

Commit 3b382ef

Browse files
committed
Add platform to test name
Signed-off-by: Sorin Butnariu <sorin.butnariu@intel.com>
1 parent 2365f15 commit 3b382ef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/plugins/intel_npu/tests/unit/npu/offline_compilation.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ using namespace ov::intel_npu;
1717
using namespace ov::test::utils;
1818

1919
class OfflineCompilationUnitTests : public ::testing::TestWithParam<std::string_view> {
20+
public:
21+
static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& info) {
22+
return std::string(info.param);
23+
}
24+
2025
protected:
2126
void SetUp() override {
2227
std::vector<std::string> availableDevices = core.get_available_devices();
@@ -50,7 +55,8 @@ TEST_P(OfflineCompilationUnitTests, CompileWithCiPWhenDriverNotInstalled) {
5055

5156
INSTANTIATE_TEST_SUITE_P(OfflineCompilationPlatforms,
5257
OfflineCompilationUnitTests,
53-
::testing::Values(ov::intel_npu::Platform::NPU5010, ov::intel_npu::Platform::NPU5020));
58+
::testing::Values(ov::intel_npu::Platform::NPU5010, ov::intel_npu::Platform::NPU5020),
59+
OfflineCompilationUnitTests::getTestCaseName);
5460

5561
using UnavailableDeviceTests = ::testing::Test;
5662

0 commit comments

Comments
 (0)