[IE TESTS] Fix conformance test names (#5095)
* [IE TESTS] Fix conformance test names * sdl; * APPLY COMMENTS FROM MIKHAIL
This commit is contained in:
parent
69e71b7287
commit
812175268a
@ -2,6 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
#include "common_test_utils/file_utils.hpp"
|
||||
#include "functional_test_utils/core_config.hpp"
|
||||
|
||||
#include "shared_test_classes/read_ir/read_ir.hpp"
|
||||
@ -14,8 +15,12 @@ std::string ReadIRTest::getTestCaseName(const testing::TestParamInfo<std::tuple<
|
||||
std::tie(pathToModel, deviceName) = obj.param;
|
||||
|
||||
std::ostringstream result;
|
||||
result << "ModelPath=" << pathToModel << "_";
|
||||
result << "TargetDevice=" << deviceName << "_";
|
||||
auto splittedFilename = CommonTestUtils::splitStringByDelimiter(pathToModel, CommonTestUtils::FileSeparator);
|
||||
if (splittedFilename.size() > 1) {
|
||||
result << "PRC=" << *std::next(splittedFilename.rbegin()) << "_";
|
||||
}
|
||||
result << "IR_name=" << splittedFilename.back() << "_";
|
||||
result << "TargetDevice=" << deviceName;
|
||||
return result.str();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user