diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py | 6 |
1 files changed, 2 insertions, 4 deletions
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: |