Skip to content

Commit

Permalink
落ちなければ exit 0 にする
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Nov 2, 2024
1 parent f55e36b commit 4d8aab6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ def main():
args.local_sora_cpp_sdk_args,
)

configuration = "Debug" if args.debug else "Release"
configuration = "Release"
if args.debug:
configuration = "Debug"
if args.relwithdebinfo:
configuration = "RelWithDebInfo"

webrtc_platform = get_webrtc_platform(platform)
webrtc_info = get_webrtc_info(
Expand Down
6 changes: 4 additions & 2 deletions test_with_llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ def test(debugger, command, result, internal_dict):

if state == lldb.eStateExited:
exit_status = process.GetExitStatus()
debugger.HandleCommand(f"exit {exit_status}")
sys.exit(exit_status)
# debugger.HandleCommand(f"exit {exit_status}")
# sys.exit(exit_status)
debugger.HandleCommand("exit 0")
sys.exit(0)
elif state == lldb.eStateStopped:
thread = process.GetSelectedThread()
if thread.GetStopReason() == lldb.eStopReasonExec:
Expand Down

0 comments on commit 4d8aab6

Please # to comment.