From 9b4b6aee8e54e2ffc3169784fca004e2f6c85c7a Mon Sep 17 00:00:00 2001 From: Karl W Schulz Date: Thu, 7 Dec 2023 14:40:07 -0600 Subject: [PATCH] restore formal call to sys.exit() in top-level main; this is needed for companion testing collateral which expects SystemExit exceptions to be raised. Signed-off-by: Karl W Schulz --- src/omniperf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/omniperf b/src/omniperf index 4188166d12..d63ccf2a66 100755 --- a/src/omniperf +++ b/src/omniperf @@ -24,6 +24,7 @@ # SOFTWARE. ##############################################################################el +import sys from omniperf_base import Omniperf def main(): @@ -43,5 +44,7 @@ def main(): else: omniperf.error("Unsupported execution mode") + sys.exit(0) + if __name__ == "__main__": main()