diff options
author | Zachary Turner <zturner@google.com> | 2016-02-04 23:04:17 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-02-04 23:04:17 +0000 |
commit | 9a1a2946affdfcefd7cd2e407f4dbf51082d597e (patch) | |
tree | a2cca296012243efeaaf58b7ff41e3f887f5a92d /lldb/packages/Python/lldbsuite/test/benchmarks | |
parent | 3d98703523dfdce04839a2f7927eabaf8220887b (diff) | |
download | bcm5719-llvm-9a1a2946affdfcefd7cd2e407f4dbf51082d597e.tar.gz bcm5719-llvm-9a1a2946affdfcefd7cd2e407f4dbf51082d597e.zip |
Move the rest of the tests over to using the new decorator module.
llvm-svn: 259838
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/benchmarks')
12 files changed, 35 insertions, 9 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py b/lldb/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py index 25ca13a3bfd..f7c274522f9 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py @@ -8,8 +8,10 @@ from __future__ import print_function import os, time import lldb +from lldbsuite.test.decorators import * from lldbsuite.test.lldbbench import * -import lldbsuite.test.lldbutil as lldbutil +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil class TestBenchmarkContinue(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDisassembly.py b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDisassembly.py index a18cb2a64c7..027a195cdfe 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDisassembly.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDisassembly.py @@ -6,8 +6,10 @@ from __future__ import print_function import os, sys import lldb -from lldbsuite.test import configuration +from lldbsuite.test.decorators import * from lldbsuite.test.lldbbench import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil def is_exe(fpath): """Returns true if fpath is an executable.""" diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py index b7b07090959..f8e3d94b657 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py @@ -8,8 +8,9 @@ from __future__ import print_function import os, sys import lldb +from lldbsuite.test.decorators import * from lldbsuite.test.lldbbench import * -from lldbsuite.test import configuration +from lldbsuite.test.lldbtest import * class AttachThenDisassemblyBench(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py index 745e7b6a8c3..b9059a387ee 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py @@ -6,8 +6,11 @@ from __future__ import print_function import os, sys import lldb -from lldbsuite.test import configuration +from lldbsuite.test.decorators import * from lldbsuite.test.lldbbench import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import configuration +from lldbsuite.test import lldbutil class XCode41Vs42GDBDisassembly(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py b/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py index abf45147d63..76d3eb180cf 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py @@ -6,8 +6,11 @@ from __future__ import print_function import os, sys import lldb -from lldbsuite.test import configuration +from lldbsuite.test.decorators import * from lldbsuite.test.lldbbench import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import configuration +from lldbsuite.test import lldbutil class ExpressionEvaluationCase(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py b/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py index e5cada3563f..a6402d0507d 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py @@ -6,8 +6,11 @@ from __future__ import print_function import os, sys import lldb +from lldbsuite.test.lldbbench import BenchBase +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * from lldbsuite.test import configuration -from lldbsuite.test.lldbbench import * +from lldbsuite.test import lldbutil class RepeatedExprsCase(BenchBase): 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 5fdf05763fd..4698e425e5b 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py @@ -8,6 +8,7 @@ import os, sys import lldb from lldbsuite.test import configuration from lldbsuite.test import lldbtest_config +from lldbsuite.test.decorators import * from lldbsuite.test.lldbbench import * class FrameVariableResponseBench(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py b/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py index 7606bd1d3e8..12e23e95694 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py @@ -8,8 +8,10 @@ from __future__ import print_function import os, time import lldb +from lldbsuite.test.decorators import * from lldbsuite.test.lldbbench import * -import lldbsuite.test.lldbutil as lldbutil +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil class TestBenchmarkLibcxxList(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py b/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py index 806bc0ee29e..4466cd083ca 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py @@ -9,7 +9,9 @@ from __future__ import print_function import os, time import lldb from lldbsuite.test.lldbbench import * -import lldbsuite.test.lldbutil as lldbutil +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil class TestBenchmarkLibcxxMap(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py b/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py index a215721ed52..5c794d2bf6f 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py @@ -8,6 +8,7 @@ import os, sys import lldb from lldbsuite.test import configuration from lldbsuite.test import lldbtest_config +from lldbsuite.test.decorators import * from lldbsuite.test.lldbbench import * class StartupDelaysBench(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py b/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py index 14738a978e8..0020ed2c9ee 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py @@ -7,6 +7,9 @@ import lldb from lldbsuite.test import configuration from lldbsuite.test import lldbtest_config from lldbsuite.test.lldbbench import * +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil class SteppingSpeedBench(BenchBase): diff --git a/lldb/packages/Python/lldbsuite/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py b/lldb/packages/Python/lldbsuite/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py index 731eb13bbcf..615a37f58f8 100644 --- a/lldb/packages/Python/lldbsuite/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py +++ b/lldb/packages/Python/lldbsuite/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py @@ -6,8 +6,11 @@ from __future__ import print_function import os, sys import lldb -from lldbsuite.test import configuration from lldbsuite.test.lldbbench import * +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import configuration +from lldbsuite.test import lldbutil class CompileRunToBreakpointBench(BenchBase): |