diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/benchmarks')
4 files changed, 7 insertions, 16 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py index 5d759399c41..81e364d7f7f 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py @@ -17,10 +17,7 @@ class AttachThenDisassemblyBench(BenchBase): def setUp(self): BenchBase.setUp(self) - if configuration.bmExecutable: - self.exe = configuration.bmExecutable - else: - self.exe = lldbtest_config.lldbExec + self.exe = lldbtest_config.lldbExec self.count = configuration.bmIterationCount if self.count <= 0: self.count = 10 diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py b/lldb/packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py index 2031749be31..d0dfcd30d2f 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py @@ -7,6 +7,7 @@ from __future__ import print_function import os, sys import lldb from lldbsuite.test import configuration +from lldbsuite.test import lldbtest_config from lldbsuite.test.lldbbench import * class FrameVariableResponseBench(BenchBase): @@ -15,10 +16,7 @@ class FrameVariableResponseBench(BenchBase): def setUp(self): BenchBase.setUp(self) - if configuration.bmExecutable: - self.exe = configuration.bmExecutable - else: - self.exe = lldbtest_config.lldbExec + self.exe = lldbtest_config.lldbExec if configuration.bmBreakpointSpec: self.break_spec = configuration.bmBreakpointSpec else: diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py b/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py index 5322503abe4..b2d471c3628 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py @@ -7,6 +7,7 @@ from __future__ import print_function import os, sys import lldb from lldbsuite.test import configuration +from lldbsuite.test import lldbtest_config from lldbsuite.test.lldbbench import * class StartupDelaysBench(BenchBase): @@ -20,10 +21,7 @@ class StartupDelaysBench(BenchBase): self.stopwatch2 = Stopwatch() # Create self.stopwatch3 for measuring "run to breakpoint". self.stopwatch3 = Stopwatch() - if configuration.bmExecutable: - self.exe = configuration.bmExecutable - else: - self.exe = lldbtest_config.lldbExec + self.exe = lldbtest_config.lldbExec if configuration.bmBreakpointSpec: self.break_spec = configuration.bmBreakpointSpec else: diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py b/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py index fe22a5a1bbd..8e3a14a408b 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py @@ -5,6 +5,7 @@ from __future__ import print_function import os, sys import lldb from lldbsuite.test import configuration +from lldbsuite.test import lldbtest_config from lldbsuite.test.lldbbench import * class SteppingSpeedBench(BenchBase): @@ -13,10 +14,7 @@ class SteppingSpeedBench(BenchBase): def setUp(self): BenchBase.setUp(self) - if configuration.bmExecutable: - self.exe = configuration.bmExecutable - else: - self.exe = lldbtest_config.lldbExec + self.exe = lldbtest_config.lldbExec if configuration.bmBreakpointSpec: self.break_spec = configuration.bmBreakpointSpec else: |