Remove all thrown exceptions in Dartagnan.main()#1020
Remove all thrown exceptions in Dartagnan.main()#1020hernanponcedeleon wants to merge 1 commit intodevelopmentfrom
Conversation
|
I think we should simply use different exit codes and avoid the common one's like |
|
I think we should just put |
As you said, that will break vsyncer. However, it might indeed be the best solution. Since there is no hurry for these changes, I will put the PR on hold until we also rework all options (which will also have some breaking changes); then we can make a new release with major version update |
Signed-off-by: Hernan Ponce de Leon <hernanl.leon@huawei.com>
f1d13c2 to
2588dce
Compare
This solves some SVCOMP problems in which the runner was looping forever e.g., if we would pass the wrong file path.
However, we still have the looping problem if dartagnan runs OOM. It seems the jvm returns 1 as exit code, which is the same value we use for
ExitCode.BOUNDED_RESULT(which is also what we used for the looping condition in the runner).