]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
runner: convert runtime exceptions to TestError 646/head
authorJason Ish <jason.ish@oisf.net>
Thu, 6 Jan 2022 17:09:35 +0000 (11:09 -0600)
committerJason Ish <jason.ish@oisf.net>
Fri, 14 Jan 2022 20:57:15 +0000 (14:57 -0600)
commit0f4d492db8a9cd883ea02ab3586b8733645334b7
tree5328067efcb2f2f5cce3dbdf79b6b99996d1804e
parenta56c4749cda593aa5922d2de4804ff6ec0c5c69e
runner: convert runtime exceptions to TestError

Convert exceptions from code errors (well, any unexpected exception)
into a TestError. This allows the test to be reported as failed.

I think because tests are run in separate processes, its harder to
catch these sorts of errors.
run.py