-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[NPU][IE-MDK] Load testing skip config at runtime #29056
base: master
Are you sure you want to change the base?
Conversation
4cacc49
to
f49eac1
Compare
build_jenkins |
// Multiple Backends, Devices, OSes can be selected | ||
// If "!" is found, then rule is inverted | ||
pugi::xml_node enableRules = skipConfigRule.child("enable_rules"); | ||
bool ruleFlag = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not set it to true here if the default value is true?
pugi::xml_node enableRules = skipConfigRule.child("enable_rules"); | ||
bool ruleFlag = false; | ||
if (!enableRules.empty()) { | ||
bool backendRuleFlag = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question here
} | ||
} else { | ||
// Rule empty, default to true | ||
deviceRuleFlag = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
deviceRuleFlag = true; | ||
} | ||
|
||
bool operatingSystemRuleFlag = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
src/plugins/intel_npu/tests/functional/shared_tests_instances/skip_tests_config.cpp
Outdated
Show resolved
Hide resolved
@@ -66,3 +69,7 @@ install( | |||
RUNTIME DESTINATION tests | |||
COMPONENT tests | |||
EXCLUDE_FROM_ALL) | |||
|
|||
install(FILES ${SKIP_CONFIG_PATH} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@XinWangIntel, could you please have another look here?
Signed-off-by: Sorin Butnariu <[email protected]>
build_jenkins |
Details:
Functionality is enabled by setting OV_NPU_TESTS_SKIP_CONFIG_FILE environment variable with the correct path, the file will be loaded and parsed.
However, if the path is left empty the application will use the legacy skip filters as configured in skip_tests_config.cpp
Tickets: