diff --git a/run.py b/run.py index e054a37..3bc6a79 100644 --- a/run.py +++ b/run.py @@ -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( diff --git a/test_with_llvm.py b/test_with_llvm.py index e12c446..77f28c6 100644 --- a/test_with_llvm.py +++ b/test_with_llvm.py @@ -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: