twister: cleanup notrun tests with -M
Cleanup notrun tests with the -M option. This is used in the weekly build and fails because devices will run out of space. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
3810fd3742
commit
b417524b66
1 changed files with 2 additions and 1 deletions
|
@ -798,7 +798,8 @@ class ProjectBuilder(FilterBuilder):
|
|||
if self.options.prep_artifacts_for_testing:
|
||||
next_op = 'cleanup'
|
||||
additionals = {"mode": "device"}
|
||||
elif self.options.runtime_artifact_cleanup == "pass" and self.instance.status == TwisterStatus.PASS:
|
||||
elif self.options.runtime_artifact_cleanup == "pass" and \
|
||||
self.instance.status in [TwisterStatus.PASS, TwisterStatus.NOTRUN]:
|
||||
next_op = 'cleanup'
|
||||
additionals = {"mode": "passed"}
|
||||
elif self.options.runtime_artifact_cleanup == "all":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue