sanitycheck: abort if last_sanity.csv not found
When running --only-failed make sure last_sanity.csv exists. Change-Id: I862529a58f337987c37da83fd5541dd4f42b3391 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
3763487575
commit
d9616b9400
1 changed files with 1 additions and 1 deletions
|
@ -1234,7 +1234,7 @@ class TestSuite:
|
|||
|
||||
def get_last_failed(self):
|
||||
if not os.path.exists(LAST_SANITY):
|
||||
return []
|
||||
raise SanityRuntimeError("Couldn't find last sanity run.")
|
||||
result = []
|
||||
with open(LAST_SANITY, "r") as fp:
|
||||
cr = csv.DictReader(fp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue