twister: Always change skip to error on integration platforms
Before only with --integration such skips were changed to errors. This hinders issues when twister is call with --all flag in CI and new skips on integration platforms are not caught. Then those skips cause errors in other PRs when --integration was used. Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
This commit is contained in:
parent
6d64fe67ee
commit
42aa8fd72c
1 changed files with 2 additions and 2 deletions
|
@ -1024,8 +1024,8 @@ class TestPlan:
|
|||
|
||||
|
||||
def change_skip_to_error_if_integration(options, instance):
|
||||
''' If integration mode is on all skips on integration_platforms are treated as errors.'''
|
||||
if options.integration and instance.platform.name in instance.testsuite.integration_platforms \
|
||||
''' All skips on integration_platforms are treated as errors.'''
|
||||
if instance.platform.name in instance.testsuite.integration_platforms \
|
||||
and "quarantine" not in instance.reason.lower():
|
||||
# Do not treat this as error if filter type is command line
|
||||
filters = {t['type'] for t in instance.filters}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue