about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2017-01-14 19:44:08 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2017-01-14 23:03:06 +0000
commitdcc709dd23fc8a50d5dc087d4d5961dea041bf01 (patch)
tree84c553f78bc9e8bdcdd5b7aa2e2c9c78d84494dc /tools
parent6137888c07ab45bee354ff7b66f6f313ea158da8 (diff)
downloadklee-dcc709dd23fc8a50d5dc087d4d5961dea041bf01.tar.gz
Change how error handling is done in libkleeRuntest.
Previously error messages would be emitted but execution would continue
which might not be desirable.

Now a wrapper function (for fprintf) `report_internal_error()` is used
which will cause the program to exit. The older behaviour of continuing
to execute after an error can be achieved by setting a new environment
variable `KLEE_RUN_TEST_ERRORS_NON_FATAL`.

This commit also adds a test for each error case.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions