Skip to content

Commit 4d8aab6

Browse files
committed
落ちなければ exit 0 にする
1 parent f55e36b commit 4d8aab6

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

run.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@ def main():
226226
args.local_sora_cpp_sdk_args,
227227
)
228228

229-
configuration = "Debug" if args.debug else "Release"
229+
configuration = "Release"
230+
if args.debug:
231+
configuration = "Debug"
232+
if args.relwithdebinfo:
233+
configuration = "RelWithDebInfo"
230234

231235
webrtc_platform = get_webrtc_platform(platform)
232236
webrtc_info = get_webrtc_info(

test_with_llvm.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ def test(debugger, command, result, internal_dict):
2020

2121
if state == lldb.eStateExited:
2222
exit_status = process.GetExitStatus()
23-
debugger.HandleCommand(f"exit {exit_status}")
24-
sys.exit(exit_status)
23+
# debugger.HandleCommand(f"exit {exit_status}")
24+
# sys.exit(exit_status)
25+
debugger.HandleCommand("exit 0")
26+
sys.exit(0)
2527
elif state == lldb.eStateStopped:
2628
thread = process.GetSelectedThread()
2729
if thread.GetStopReason() == lldb.eStopReasonExec:

0 commit comments

Comments
 (0)