diff --git a/.github/actions/run-lldb-tests/action.yml b/.github/actions/run-lldb-tests/action.yml index 25cbe93a..1529e1cc 100644 --- a/.github/actions/run-lldb-tests/action.yml +++ b/.github/actions/run-lldb-tests/action.yml @@ -91,4 +91,4 @@ runs: --excluded "$excluded_dir/ds2/${{ inputs.platform }}-${{ inputs.arch }}.excluded" \ --excluded "$excluded_dir/upstream/non-debugserver-tests.excluded" \ -v \ - ${{ inputs.test-subdirs }} 2>&1 | grep -v '^UNSUPPORTED: LLDB ' + ${{ inputs.test-subdirs }} 2>&1 | grep -a -v '^UNSUPPORTED: LLDB ' diff --git a/.github/workflows/test-android.yml b/.github/workflows/test-android.yml index 81e569d0..359d60e2 100644 --- a/.github/workflows/test-android.yml +++ b/.github/workflows/test-android.yml @@ -123,7 +123,7 @@ jobs: -v ${{ steps.test-subdirs.outputs.dirs }} 1>/dev/null 2>/tmp/dotest-android-x86_64.log; - rc=$?; grep -v '^UNSUPPORTED: LLDB ' /tmp/dotest-android-x86_64.log; exit $rc + rc=$?; grep -a -v '^UNSUPPORTED: LLDB ' /tmp/dotest-android-x86_64.log; exit $rc # Run a small sub-set of tests on arm64. The emulator is very slow so it is # not practical to run more tests until we can run on an arm64 runner with @@ -220,4 +220,4 @@ jobs: SourceCache/llvm/lldb/test/API/linux SourceCache/llvm/lldb/test/API/sanity 1>/dev/null 2>/tmp/dotest-android-arm64-v8a.log; - rc=$?; grep -v '^UNSUPPORTED: LLDB ' /tmp/dotest-android-arm64-v8a.log; exit $rc + rc=$?; grep -a -v '^UNSUPPORTED: LLDB ' /tmp/dotest-android-arm64-v8a.log; exit $rc diff --git a/Support/Testing/Excluded/ds2/android-x86_64.excluded b/Support/Testing/Excluded/ds2/android-x86_64.excluded index aef6cef3..a6832ec0 100644 --- a/Support/Testing/Excluded/ds2/android-x86_64.excluded +++ b/Support/Testing/Excluded/ds2/android-x86_64.excluded @@ -9,15 +9,11 @@ TestConcurrentSignalWatch.ConcurrentSignalWatch.test TestConcurrentTwoBreakpointsOneSignal.ConcurrentTwoBreakpointsOneSignal.test TestCreateAfterAttach.CreateAfterAttachTestCase.test_create_after_attach_dwarf TestCreateAfterAttach.CreateAfterAttachTestCase.test_create_after_attach_dwo -TestDataFormatterCaching.TestDataFormatterCaching.test_with_run_command_dwarf -TestDataFormatterCaching.TestDataFormatterCaching.test_with_run_command_dwo TestDataFormatterSynthVal.DataFormatterSynthValueTestCase.test_with_run_command_dwarf TestDataFormatterSynthVal.DataFormatterSynthValueTestCase.test_with_run_command_dwo TestExec.ExecTestCase.test_correct_thread_plan_state_before_exec TestExec.ExecTestCase.test_hitting_exec TestExec.ExecTestCase.test_skipping_exec -TestExprDoesntBlock.ExprDoesntDeadlockTestCase.test_with_run_command_dwarf -TestExprDoesntBlock.ExprDoesntDeadlockTestCase.test_with_run_command_dwo TestExpressionInSyscall.ExprSyscallTestCase.test_setpgid_dwarf TestExpressionInSyscall.ExprSyscallTestCase.test_setpgid_dwo TestFindInMemory.FindInMemoryTestCase.test_find_in_memory_ok @@ -77,14 +73,11 @@ TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply.test_stop_reply_ TestHelloWorld.HelloWorldTestCase.test_with_attach_to_process_with_name_api TestInferiorCrashing.CrashingInferiorTestCase.test_inferior_crashing_dwarf TestInferiorCrashing.CrashingInferiorTestCase.test_inferior_crashing_dwo -TestLldbGdbServer.LldbGdbServerTestCase.test_Hc_then_Csignal_signals_correct_thread_launch_llgs +TestLldbGdbServer.LldbGdbServerTestCase.test_Hc_then_Csignal_signals_correct_thread_launch TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_another_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_minus_one_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_zero_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_switches_to_3_threads_launch_llgs -TestLldbGdbServer.LldbGdbServerTestCase.test_qMemoryRegionInfo_reports_heap_address_as_rw_llgs -TestLldbGdbServer.LldbGdbServerTestCase.test_qMemoryRegionInfo_reports_stack_address_as_rw_llgs -TestLldbGdbServer.LldbGdbServerTestCase.test_qRegisterInfo_contains_avx_registers_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_fork_events_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_siginfo_read_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_vfork_events_llgs @@ -122,10 +115,7 @@ TestSendSignal.SendSignalTestCase.test_with_run_command_dwarf TestSendSignal.SendSignalTestCase.test_with_run_command_dwo TestSettings.SettingsCommandTestCase.test_launchsimple_args_and_env_vars TestSettings.SettingsCommandTestCase.test_run_args_and_env_vars -TestSingleThreadStepTimeout.SingleThreadStepTimeoutTestCase.test_step_over_deadlock_large_timeout_fast_stepping -TestSingleThreadStepTimeout.SingleThreadStepTimeoutTestCase.test_step_over_deadlock_large_timeout_slow_stepping TestSingleThreadStepTimeout.SingleThreadStepTimeoutTestCase.test_step_over_deadlock_small_timeout_fast_stepping -TestSingleThreadStepTimeout.SingleThreadStepTimeoutTestCase.test_step_over_deadlock_small_timeout_slow_stepping TestStateAfterExpression.TestStopReasonAfterExpression.test_thread_state_after_expr_dwarf TestStateAfterExpression.TestStopReasonAfterExpression.test_thread_state_after_expr_dwo TestSyntheticCapping.SyntheticCappingTestCase.test_with_run_command_dwo @@ -134,7 +124,6 @@ TestTargetCreateDeps.TargetDependentsTestCase.test_dependents_explicit_false_exe TestTargetCreateDeps.TargetDependentsTestCase.test_dependents_explicit_false_lib TestTargetCreateDeps.TargetDependentsTestCase.test_dependents_implicit_default_exe TestTargetCreateDeps.TargetDependentsTestCase.test_dependents_implicit_default_lib -TestThreadStates.ThreadStateTestCase.test_process_interrupt TestUnalignedLargeWatchpoint.UnalignedLargeWatchpointTestCase.test_unaligned_large_watchpoint TestUnwindExpression.UnwindFromExpressionTest.test_unwind_expression_dwarf TestUnwindExpression.UnwindFromExpressionTest.test_unwind_expression_dwo diff --git a/Support/Testing/Excluded/ds2/linux-aarch64.excluded b/Support/Testing/Excluded/ds2/linux-aarch64.excluded index 4daf4809..1042a197 100644 --- a/Support/Testing/Excluded/ds2/linux-aarch64.excluded +++ b/Support/Testing/Excluded/ds2/linux-aarch64.excluded @@ -73,7 +73,7 @@ TestHelloWorld.HelloWorldTestCase.test_with_attach_to_process_with_id_api TestHelloWorld.HelloWorldTestCase.test_with_attach_to_process_with_name_api TestInferiorCrashing.CrashingInferiorTestCase.test_inferior_crashing_dwarf TestInferiorCrashing.CrashingInferiorTestCase.test_inferior_crashing_dwo -TestLldbGdbServer.LldbGdbServerTestCase.test_Hc_then_Csignal_signals_correct_thread_launch_llgs +TestLldbGdbServer.LldbGdbServerTestCase.test_Hc_then_Csignal_signals_correct_thread_launch TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_another_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_minus_one_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_zero_pid_llgs diff --git a/Support/Testing/Excluded/ds2/linux-i686.excluded b/Support/Testing/Excluded/ds2/linux-i686.excluded index de10ba23..f2980b96 100644 --- a/Support/Testing/Excluded/ds2/linux-i686.excluded +++ b/Support/Testing/Excluded/ds2/linux-i686.excluded @@ -3,17 +3,14 @@ TestBadAddressBreakpoints.BadAddressBreakpointTestCase.test_bad_address_breakpoi TestBreakpointSerialization.BreakpointSerialization.test_scripted_extra_args TestBreakpointSetRestart.BreakpointSetRestart.test_breakpoint_set_restart_dwarf TestBreakpointSetRestart.BreakpointSetRestart.test_breakpoint_set_restart_dwo -TestCallStopAndContinue.ExprCommandCallStopContinueTestCase.test_dwarf -TestCallStopAndContinue.ExprCommandCallStopContinueTestCase.test_dwo TestCommandScript.CmdPythonTestCase.test -TestCppGlobalOperators.TestCppGlobalOperators.test_operator_new_dwarf -TestCppGlobalOperators.TestCppGlobalOperators.test_operator_new_dwo TestDataFormatterCaching.TestDataFormatterCaching.test_with_run_command_dwarf TestDataFormatterCaching.TestDataFormatterCaching.test_with_run_command_dwo TestDataFormatterGenericMultiSet.GenericMultiSetDataFormatterTestCase.test_with_run_command_libstdcpp_dwo TestDataFormatterHexCaps.DataFormatterHexCapsTestCase.test_with_run_command_dwo TestDataFormatterSynthVal.DataFormatterSynthValueTestCase.test_with_run_command_dwarf TestDataFormatterSynthVal.DataFormatterSynthValueTestCase.test_with_run_command_dwo +TestDetachResumes.DetachResumesTestCase.test_detach_resumes TestDyldExecLinux.TestLinux64ExecViaDynamicLoader.test_with_svr4 TestDyldExecLinux.TestLinux64ExecViaDynamicLoader.test_without_svr4 TestDyldLaunchLinux.TestLinux64LaunchingViaDynamicLoader.test @@ -82,8 +79,6 @@ TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_another_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_minus_one_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_zero_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_switches_to_3_threads_launch_llgs -TestLldbGdbServer.LldbGdbServerTestCase.test_qMemoryRegionInfo_reports_code_address_as_executable_llgs -TestLldbGdbServer.LldbGdbServerTestCase.test_qMemoryRegionInfo_reports_heap_address_as_rw_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_fork_events_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_siginfo_read_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_vfork_events_llgs @@ -94,7 +89,6 @@ TestMainThreadExit.ThreadExitTestCase.test TestMemoryHoles.MemoryHolesTestCase.test_memory_find TestMemoryRegion.MemoryCommandRegion.test_command TestMemoryRegion.MemoryCommandRegion.test_no_overlapping_regions -TestNestedAlias.NestedAliasTestCase.test_nested_alias TestNonStop.LldbGdbServerTestCase.test_exit_llgs TestNonStop.LldbGdbServerTestCase.test_exit_query_llgs TestNonStop.LldbGdbServerTestCase.test_leave_nonstop_llgs @@ -126,8 +120,6 @@ TestSingleThreadStepTimeout.SingleThreadStepTimeoutTestCase.test_step_over_multi TestStateAfterExpression.TestStopReasonAfterExpression.test_thread_state_after_expr_dwarf TestStateAfterExpression.TestStopReasonAfterExpression.test_thread_state_after_expr_dwo TestSyntheticCapping.SyntheticCappingTestCase.test_with_run_command_dwo -TestThreadBacktraceRepeat.TestThreadBacktracePage.test_thread_backtrace_one_thread -TestThreadBacktraceRepeat.TestThreadBacktracePage.test_thread_backtrace_two_threads TestThreadJump.ThreadJumpTestCase.test_dwarf TestThreadJump.ThreadJumpTestCase.test_dwo TestVectorTypesFormatting.VectorTypesFormattingTestCase.test_with_run_command_dwarf diff --git a/Support/Testing/Excluded/ds2/linux-x86_64.excluded b/Support/Testing/Excluded/ds2/linux-x86_64.excluded index dd4072b6..8de6bf2c 100644 --- a/Support/Testing/Excluded/ds2/linux-x86_64.excluded +++ b/Support/Testing/Excluded/ds2/linux-x86_64.excluded @@ -3,11 +3,10 @@ TestBreakpointSerialization.BreakpointSerialization.test_scripted_extra_args TestBreakpointSetRestart.BreakpointSetRestart.test_breakpoint_set_restart_dwarf TestBreakpointSetRestart.BreakpointSetRestart.test_breakpoint_set_restart_dwo TestCommandScript.CmdPythonTestCase.test -TestDataFormatterCaching.TestDataFormatterCaching.test_with_run_command_dwarf -TestDataFormatterCaching.TestDataFormatterCaching.test_with_run_command_dwo TestDataFormatterSynthVal.DataFormatterSynthValueTestCase.test_with_run_command_dwarf TestDataFormatterSynthVal.DataFormatterSynthValueTestCase.test_with_run_command_dwo TestDebuggerAPI.DebuggerAPITestCase.test_CreateTarget_platform +TestDetachResumes.DetachResumesTestCase.test_detach_resumes TestDyldExecLinux.TestLinux64ExecViaDynamicLoader.test_with_svr4 TestDyldExecLinux.TestLinux64ExecViaDynamicLoader.test_without_svr4 TestDyldLaunchLinux.TestLinux64LaunchingViaDynamicLoader.test @@ -22,7 +21,6 @@ TestFrames.FrameAPITestCase.test_get_arg_vals_for_call_stack_dwo TestGdbRemoteAttachWait.TestGdbRemoteAttachWait.test_attach_with_vAttachWait_llgs TestGdbRemoteAttachWait.TestGdbRemoteAttachWait.test_launch_after_attach_with_vAttachOrWait_llgs TestGdbRemoteAttachWait.TestGdbRemoteAttachWait.test_launch_before_attach_with_vAttachOrWait_llgs -TestGdbRemoteExpeditedRegisters.TestGdbRemoteExpeditedRegisters.test_stop_notification_contains_fp_register_llgs TestGdbRemoteFork.TestGdbRemoteFork.test_T_llgs TestGdbRemoteFork.TestGdbRemoteFork.test_c_child_llgs TestGdbRemoteFork.TestGdbRemoteFork.test_c_child_then_parent_llgs @@ -81,8 +79,6 @@ TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_another_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_minus_one_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_fails_on_zero_pid_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_Hg_switches_to_3_threads_launch_llgs -TestLldbGdbServer.LldbGdbServerTestCase.test_qMemoryRegionInfo_reports_heap_address_as_rw_llgs -TestLldbGdbServer.LldbGdbServerTestCase.test_qMemoryRegionInfo_reports_stack_address_as_rw_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_fork_events_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_siginfo_read_llgs TestLldbGdbServer.LldbGdbServerTestCase.test_qSupported_vfork_events_llgs @@ -123,9 +119,5 @@ TestSyntheticCapping.SyntheticCappingTestCase.test_with_run_command_dwo TestTlsGlobals.TlsGlobalTestCase.test_dwarf TestTlsGlobals.TlsGlobalTestCase.test_dwo TestUnalignedLargeWatchpoint.UnalignedLargeWatchpointTestCase.test_unaligned_large_watchpoint -TestVectorTypesFormatting.VectorTypesFormattingTestCase.test_with_run_command_dwarf -TestVectorTypesFormatting.VectorTypesFormattingTestCase.test_with_run_command_dwo lldbsuite.test.lldbtest.TestPrintf.test_dwarf lldbsuite.test.lldbtest.TestPrintf.test_dwo -lldbsuite.test.lldbtest.TestTypedefArray.test_dwarf -lldbsuite.test.lldbtest.TestTypedefArray.test_dwo diff --git a/Support/Testing/Excluded/upstream/android-x86_64.excluded b/Support/Testing/Excluded/upstream/android-x86_64.excluded index e3be0f38..9a173b81 100644 --- a/Support/Testing/Excluded/upstream/android-x86_64.excluded +++ b/Support/Testing/Excluded/upstream/android-x86_64.excluded @@ -85,6 +85,7 @@ TestPythonOSPlugin.PluginPythonOSPlugin.test_python_os_plugin TestRegisters.RegisterCommandsTestCase.test_fp_register_write TestRegisters.RegisterCommandsTestCase.test_fs_gs_base TestReportData.AsanTestReportDataCase.test_dwarf +TestRestartBug.TestRestartBug.test TestRetryWithStdModule.TestCase.test_dwarf TestRetryWithStdModule.TestCase.test_dwo TestScriptedProcess.ScriptedProcesTestCase.test_missing_methods_scripted_register_context diff --git a/Support/Testing/Excluded/upstream/linux-i686.excluded b/Support/Testing/Excluded/upstream/linux-i686.excluded index f42dcf15..f8f7d519 100644 --- a/Support/Testing/Excluded/upstream/linux-i686.excluded +++ b/Support/Testing/Excluded/upstream/linux-i686.excluded @@ -86,6 +86,8 @@ TestDynamicValue.DynamicValueTestCase.test_get_dynamic_vals_dwarf TestDynamicValue.DynamicValueTestCase.test_get_dynamic_vals_dwo TestFixIts.ExprCommandWithFixits.test_with_dummy_target_dwarf TestFrameRecognizer.FrameRecognizerTestCase.test_frame_recognizer_1 +TestFrameRecognizer.FrameRecognizerTestCase.test_frame_recognizer_hiding +TestFrameRecognizer.FrameRecognizerTestCase.test_frame_recognizer_multi_symbol TestFrameRecognizer.FrameRecognizerTestCase.test_frame_recognizer_not_only_first_instruction TestGDBRemoteClient.TestGDBRemoteClient.test_launch_A TestGDBRemoteClient.TestGDBRemoteClient.test_launch_A diff --git a/Support/Testing/Excluded/upstream/linux-x86_64.excluded b/Support/Testing/Excluded/upstream/linux-x86_64.excluded index 49291599..b25d8b23 100644 --- a/Support/Testing/Excluded/upstream/linux-x86_64.excluded +++ b/Support/Testing/Excluded/upstream/linux-x86_64.excluded @@ -5,6 +5,10 @@ TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_with_run_comm TestDataFormatterSynthType.DataFormatterSynthTypeTestCase.test_with_run_command_dwarf TestDataFormatterSynthType.DataFormatterSynthTypeTestCase.test_with_run_command_dwo TestFixIts.ExprCommandWithFixits.test_with_dummy_target_dwarf +TestFrameRecognizer.FrameRecognizerTestCase.test_frame_recognizer_1 +TestFrameRecognizer.FrameRecognizerTestCase.test_frame_recognizer_hiding +TestFrameRecognizer.FrameRecognizerTestCase.test_frame_recognizer_multi_symbol +TestFrameRecognizer.FrameRecognizerTestCase.test_frame_recognizer_not_only_first_instruction TestGDBRemoteClient.TestGDBRemoteClient.test_launch_A TestGDBRemoteClient.TestGDBRemoteClient.test_launch_vRun TestInferiorChanged.ChangedInferiorTestCase.test_inferior_crashing @@ -15,6 +19,7 @@ TestModuleCacheUniversal.ModuleCacheTestcaseUniversal.test TestOSPluginStepping.TestOSPluginStepping.test_python_os_plugin TestOSPluginStepping.TestOSPluginStepping.test_python_os_plugin_prune TestPythonOSPlugin.PluginPythonOSPlugin.test_python_os_plugin +TestRestartBug.TestRestartBug.test TestScriptedResolver.TestScriptedResolver.test_command_line TestScriptedResolver.TestScriptedResolver.test_scripted_resolver TestScriptedResolver.TestScriptedResolver.test_search_depths