Skip to content

Commit

Permalink
Merge pull request #972 from hernanponcedeleon/main
Browse files Browse the repository at this point in the history
Use proper property false result
  • Loading branch information
PhilippWendler authored Nov 21, 2023
2 parents 9c8d1ef + 2e775b0 commit 033b38c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion benchexec/tools/dartagnan.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@ def determine_result(self, run):
if run.output:
result_str = run.output[-1].strip()
if "FAIL" in result_str:
status = result.RESULT_FALSE_REACH
failure_str = run.output[-3].strip()
if "integer overflow" in failure_str:
status = result.RESULT_FALSE_OVERFLOW
elif "invalid dereference" in failure_str:
status = result.RESULT_FALSE_DEREF
elif "user assertion" in failure_str:
status = result.RESULT_FALSE_REACH
else:
status = result.RESULT_FALSE_PROP
elif "PASS" in result_str:
status = result.RESULT_TRUE_PROP
elif "UNKNOWN" in result_str:
Expand Down

0 comments on commit 033b38c

Please sign in to comment.