Commit b417524b authored by Anas Nashif's avatar Anas Nashif Committed by Dan Kalowsky
Browse files

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: default avatarAnas Nashif <anas.nashif@intel.com>
parent 3810fd37
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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":