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]
这个提交包含在:
@@ -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()
|
||||
|
||||
在新工单中引用
屏蔽一个用户