]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
runner: error out on errors from the runner
authorJason Ish <jason.ish@oisf.net>
Thu, 4 Aug 2022 15:51:59 +0000 (09:51 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 13 Sep 2022 10:19:07 +0000 (12:19 +0200)
commit7f0c7948c62277610e0cf856d473dcb4ed35971b
tree47ce4f83166ced18f522b6f1569b882982eec297
parent6bb4ee0f498dccf057e939cf509258d2ea462f80
runner: error out on errors from the runner

Currently exceptions from tests that are not explicitly handled are lost
due to the way Python's multiprocessing module works.  This means that
programming errors in the runner are silently ignore with the test not
being run or counted.

Instead, log the traceback for any unexpected exception and terminate
the runner, as this is programming error in the runner and should always
be fatal.
run.py