Skip to content

Commit

Permalink
Use result.RESULT_FALSE_DATARACE constant in dartagnan
Browse files Browse the repository at this point in the history
Signed-off-by: Hernan Ponce de Leon <[email protected]>
  • Loading branch information
hernanponcedeleon committed Nov 13, 2024
1 parent be2d505 commit e96ce80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions benchexec/tools/dartagnan.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ def determine_result(self, run):
status = result.RESULT_FALSE_DEREF
elif "user assertion" in failure_str:
status = result.RESULT_FALSE_REACH
elif "data race found" in failure_str:
status = result.RESULT_FALSE_DATARACE
else:
status = result.RESULT_FALSE_PROP
elif "PASS" in result_str:
Expand Down

0 comments on commit e96ce80

Please sign in to comment.