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 <karl.schulz@amd.com>
This commit is contained in:
Karl W Schulz
2023-12-07 14:40:07 -06:00
parent 2bf487ca4a
commit 9b4b6aee8e
+3
Vedi File
@@ -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()