Skip to content

Commit e6cc7b7

Browse files
[Dexter] Fix test failures on greendragon (#66299)
The issue with these test failures is that the dSYM was not being found by lldb, which is why setting breakpoints was failing and lldb quit without performing any steps. This change copies the dSYM to the same temp directory that the executable is copied to.
1 parent e2e429d commit e6cc7b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+25
-43
lines changed

cross-project-tests/debuginfo-tests/dexter-tests/aggregate-indirect-arg.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
3-
// XFAIL: system-darwin
43
//
54
// RUN: %clang -std=gnu++11 -O0 -g -lstdc++ %s -o %t
65
// RUN: %dexter --fail-lt 1.0 -w \

cross-project-tests/debuginfo-tests/dexter-tests/ctor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
3-
// XFAIL: system-darwin
43
//
54
// RUN: %clang -std=gnu++11 -O0 -glldb %s -o %t
65
// RUN: %dexter --fail-lt 1.0 -w \

cross-project-tests/debuginfo-tests/dexter-tests/dbg-arg.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
3-
// XFAIL: system-darwin
43
//
54
// This test case checks debug info during register moves for an argument.
65
// RUN: %clang -std=gnu11 -m64 -mllvm -fast-isel=false -g %s -o %t

cross-project-tests/debuginfo-tests/dexter-tests/deferred_globals.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// REQUIRES: lldb
66
// UNSUPPORTED: system-windows
7-
// XFAIL: system-darwin
87
// RUN: %clang -std=gnu++11 -O0 -g %s -o %t
98
// RUN: %dexter --fail-lt 1.0 -w \
109
// RUN: --binary %t --debugger 'lldb' -v -- %s

cross-project-tests/debuginfo-tests/dexter-tests/memvars/ctrl-flow.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
3-
// XFAIL: system-darwin
43
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
54
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
65

cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
3-
// XFAIL: system-darwin
43
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
54
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
65
//

cross-project-tests/debuginfo-tests/dexter-tests/namespace.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// REQUIRES: lldb
66
// UNSUPPORTED: system-windows
7-
// XFAIL: system-darwin
87

98
// RUN: %clang -g -O0 %s -o %t
109
// RUN: %dexter --fail-lt 1.0 -w \

cross-project-tests/debuginfo-tests/dexter-tests/stack-var.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// REQUIRES: lldb
22
// UNSUPPORTED: system-windows
3-
// XFAIL: system-darwin
43
//
54
// RUN: %clang -std=gnu11 -O -glldb %s -o %t
65
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'lldb' -- %s

cross-project-tests/debuginfo-tests/dexter-tests/vla.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// This test case verifies the debug location for variable-length arrays.
22
// REQUIRES: lldb
33
// UNSUPPORTED: system-windows
4-
// XFAIL: system-darwin
54
//
65
// RUN: %clang -std=gnu11 -O0 -glldb %s -o %t
76
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'lldb' -- %s

cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ def _run_debugger_custom(self, cmdline):
8787
self.step_collection.debugger = self.debugger.debugger_info
8888
self._break_point_all_lines()
8989
self.debugger.launch(cmdline)
90-
9190
for command_obj in chain.from_iterable(self.step_collection.commands.values()):
9291
self.watches.update(command_obj.get_watches())
9392
early_exit_conditions = self._get_early_exit_conditions()
94-
9593
timed_out = False
9694
total_timeout = Timeout(self.context.options.timeout_total)
9795
max_steps = self.context.options.max_steps

0 commit comments

Comments
 (0)