summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command')
-rw-r--r--lldb/test/expression_command/call-function/TestCallStdStringFunction.py2
-rw-r--r--lldb/test/expression_command/call-function/TestCallStopAndContinue.py2
-rw-r--r--lldb/test/expression_command/call-function/TestCallUserDefinedFunction.py2
-rw-r--r--lldb/test/expression_command/call-restarts/TestCallThatRestarts.py2
-rw-r--r--lldb/test/expression_command/call-throws/TestCallThatThrows.py2
-rw-r--r--lldb/test/expression_command/char/TestExprsChar.py2
-rw-r--r--lldb/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py2
-rw-r--r--lldb/test/expression_command/formatters/TestFormatters.py2
-rw-r--r--lldb/test/expression_command/issue_11588/Test11588.py2
-rw-r--r--lldb/test/expression_command/options/TestExprOptions.py2
-rw-r--r--lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py2
-rw-r--r--lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py2
-rw-r--r--lldb/test/expression_command/persistent_types/TestNestedPersistentTypes.py2
-rw-r--r--lldb/test/expression_command/persistent_types/TestPersistentTypes.py2
-rw-r--r--lldb/test/expression_command/persistent_variables/TestPersistentVariables.py2
-rw-r--r--lldb/test/expression_command/po_verbosity/TestPoVerbosity.py2
-rw-r--r--lldb/test/expression_command/radar_8638051/Test8638051.py2
-rw-r--r--lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py2
-rw-r--r--lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py2
-rw-r--r--lldb/test/expression_command/test/TestExprs.py2
-rw-r--r--lldb/test/expression_command/test/TestExprs2.py2
-rw-r--r--lldb/test/expression_command/timeout/TestCallWithTimeout.py2
-rw-r--r--lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py2
23 files changed, 46 insertions, 0 deletions
diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
index 736af5b6334..ef04bdb59d6 100644
--- a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
+++ b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
@@ -2,6 +2,8 @@
Test calling std::String member functions.
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
index 10a4c21d0a8..cc66dd0c6ea 100644
--- a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
+++ b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
@@ -2,6 +2,8 @@
Test calling a function, stopping in the call, continue and gather the result on stop.
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/call-function/TestCallUserDefinedFunction.py b/lldb/test/expression_command/call-function/TestCallUserDefinedFunction.py
index c9a1db2b427..f851779c58d 100644
--- a/lldb/test/expression_command/call-function/TestCallUserDefinedFunction.py
+++ b/lldb/test/expression_command/call-function/TestCallUserDefinedFunction.py
@@ -7,6 +7,8 @@ Note:
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py
index f5480c27407..e3d368c97cd 100644
--- a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py
+++ b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py
@@ -2,6 +2,8 @@
Test calling a function that hits a signal set to auto-restart, make sure the call completes.
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/call-throws/TestCallThatThrows.py b/lldb/test/expression_command/call-throws/TestCallThatThrows.py
index e5ac994d7b5..85774cdc65f 100644
--- a/lldb/test/expression_command/call-throws/TestCallThatThrows.py
+++ b/lldb/test/expression_command/call-throws/TestCallThatThrows.py
@@ -2,6 +2,8 @@
Test calling a function that throws an ObjC exception, make sure that it doesn't propagate the exception.
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/char/TestExprsChar.py b/lldb/test/expression_command/char/TestExprsChar.py
index c5745189d56..0e6478ac238 100644
--- a/lldb/test/expression_command/char/TestExprsChar.py
+++ b/lldb/test/expression_command/char/TestExprsChar.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py b/lldb/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py
index 4d1ba4bec59..83c98affdd0 100644
--- a/lldb/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py
+++ b/lldb/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py
@@ -1,5 +1,7 @@
"""Test that we are able to evaluate expressions when the inferior is blocked in a syscall"""
+from __future__ import print_function
+
import lldb_shared
import os
diff --git a/lldb/test/expression_command/formatters/TestFormatters.py b/lldb/test/expression_command/formatters/TestFormatters.py
index a86961a32b8..c8bb2847a48 100644
--- a/lldb/test/expression_command/formatters/TestFormatters.py
+++ b/lldb/test/expression_command/formatters/TestFormatters.py
@@ -2,6 +2,8 @@
Test using LLDB data formatters with frozen objects coming from the expression parser.
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/issue_11588/Test11588.py b/lldb/test/expression_command/issue_11588/Test11588.py
index d1793c3f96f..53b7fc94faf 100644
--- a/lldb/test/expression_command/issue_11588/Test11588.py
+++ b/lldb/test/expression_command/issue_11588/Test11588.py
@@ -4,6 +4,8 @@ valobj.AddressOf() returns None when an address is
expected in a SyntheticChildrenProvider
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
diff --git a/lldb/test/expression_command/options/TestExprOptions.py b/lldb/test/expression_command/options/TestExprOptions.py
index 18394efc010..846f676eb64 100644
--- a/lldb/test/expression_command/options/TestExprOptions.py
+++ b/lldb/test/expression_command/options/TestExprOptions.py
@@ -7,6 +7,8 @@ o test_expr_options:
Test expression command options.
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
diff --git a/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py b/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
index a179205a2d9..b11ea8a6ced 100644
--- a/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
+++ b/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
@@ -2,6 +2,8 @@
Test that we can p *objcObject
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py b/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py
index 312d9de6d10..4c10e2a946b 100644
--- a/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py
+++ b/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py
@@ -2,6 +2,8 @@
Test that we can have persistent pointer variables
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/persistent_types/TestNestedPersistentTypes.py b/lldb/test/expression_command/persistent_types/TestNestedPersistentTypes.py
index 4fd34830a75..7e474c889ef 100644
--- a/lldb/test/expression_command/persistent_types/TestNestedPersistentTypes.py
+++ b/lldb/test/expression_command/persistent_types/TestNestedPersistentTypes.py
@@ -2,6 +2,8 @@
Test that nested persistent types work.
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
diff --git a/lldb/test/expression_command/persistent_types/TestPersistentTypes.py b/lldb/test/expression_command/persistent_types/TestPersistentTypes.py
index 0ced7700727..3ed03843184 100644
--- a/lldb/test/expression_command/persistent_types/TestPersistentTypes.py
+++ b/lldb/test/expression_command/persistent_types/TestPersistentTypes.py
@@ -2,6 +2,8 @@
Test that lldb persistent types works correctly.
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
diff --git a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
index 3a10a98475c..c6f270f7b62 100644
--- a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
+++ b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
@@ -2,6 +2,8 @@
Test that lldb persistent variables works correctly.
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
diff --git a/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py b/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py
index 829b35dd091..9603bb536cb 100644
--- a/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py
+++ b/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py
@@ -2,6 +2,8 @@
Test that the po command acts correctly.
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/radar_8638051/Test8638051.py b/lldb/test/expression_command/radar_8638051/Test8638051.py
index 2cff7fe13fc..a8ba0216bb6 100644
--- a/lldb/test/expression_command/radar_8638051/Test8638051.py
+++ b/lldb/test/expression_command/radar_8638051/Test8638051.py
@@ -2,6 +2,8 @@
Test the robustness of lldb expression parser.
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
diff --git a/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py b/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
index 31d120fccef..41e3cf8299f 100644
--- a/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
+++ b/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
@@ -2,6 +2,8 @@
The evaluating printf(...) after break stop and then up a stack frame.
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
diff --git a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
index c412bce7c49..8538bb3da5d 100644
--- a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
+++ b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
@@ -2,6 +2,8 @@
Test example snippets from the lldb 'help expression' output.
"""
+from __future__ import print_function
+
import lldb_shared
import os, time
diff --git a/lldb/test/expression_command/test/TestExprs.py b/lldb/test/expression_command/test/TestExprs.py
index 12bdfa24d6c..88517333f1c 100644
--- a/lldb/test/expression_command/test/TestExprs.py
+++ b/lldb/test/expression_command/test/TestExprs.py
@@ -11,6 +11,8 @@ o test_expr_commands_can_handle_quotes:
Throw some expression commands with quotes at lldb.
"""
+from __future__ import print_function
+
import lldb_shared
import unittest2
diff --git a/lldb/test/expression_command/test/TestExprs2.py b/lldb/test/expression_command/test/TestExprs2.py
index a2dd98cfbce..b835c086ab8 100644
--- a/lldb/test/expression_command/test/TestExprs2.py
+++ b/lldb/test/expression_command/test/TestExprs2.py
@@ -2,6 +2,8 @@
Test some more expression commands.
"""
+from __future__ import print_function
+
import lldb_shared
import os
diff --git a/lldb/test/expression_command/timeout/TestCallWithTimeout.py b/lldb/test/expression_command/timeout/TestCallWithTimeout.py
index e63cebede52..59a1be6f7e7 100644
--- a/lldb/test/expression_command/timeout/TestCallWithTimeout.py
+++ b/lldb/test/expression_command/timeout/TestCallWithTimeout.py
@@ -2,6 +2,8 @@
Test calling a function that waits a while, and make sure the timeout option to expr works.
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
diff --git a/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py b/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
index 93c8218c4b9..6edf8be453f 100644
--- a/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
+++ b/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
@@ -4,6 +4,8 @@ Regression test for <rdar://problem/8981098>:
The expression parser's type search only looks in the current compilation unit for types.
"""
+from __future__ import print_function
+
import lldb_shared
import lldb
OpenPOWER on IntegriCloud