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>


[ROCm/rocprofiler-compute commit: 9b4b6aee8e]
这个提交包含在:
Karl W Schulz
2023-12-07 14:40:07 -06:00
父节点 e1aed0ad40
当前提交 bf31e9099c
@@ -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()