diff options
Diffstat (limited to 'lldb/test/lang/c')
18 files changed, 36 insertions, 0 deletions
diff --git a/lldb/test/lang/c/anonymous/TestAnonymous.py b/lldb/test/lang/c/anonymous/TestAnonymous.py index 1899384c1cd..3f79233248b 100644 --- a/lldb/test/lang/c/anonymous/TestAnonymous.py +++ b/lldb/test/lang/c/anonymous/TestAnonymous.py @@ -1,5 +1,7 @@ """Test that anonymous structs/unions are transparent to member access""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/array_types/TestArrayTypes.py b/lldb/test/lang/c/array_types/TestArrayTypes.py index 98e839ca104..85b4ede7cea 100644 --- a/lldb/test/lang/c/array_types/TestArrayTypes.py +++ b/lldb/test/lang/c/array_types/TestArrayTypes.py @@ -1,5 +1,7 @@ """Test breakpoint by file/line number; and list variables with array types.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/bitfields/TestBitfields.py b/lldb/test/lang/c/bitfields/TestBitfields.py index 024af2d1c5c..5f53437678c 100644 --- a/lldb/test/lang/c/bitfields/TestBitfields.py +++ b/lldb/test/lang/c/bitfields/TestBitfields.py @@ -1,5 +1,7 @@ """Show bitfields and check that they display correctly.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/blocks/TestBlocks.py b/lldb/test/lang/c/blocks/TestBlocks.py index 783401e2e0f..5ad48ec09d4 100644 --- a/lldb/test/lang/c/blocks/TestBlocks.py +++ b/lldb/test/lang/c/blocks/TestBlocks.py @@ -1,5 +1,7 @@ """Test that lldb can invoke blocks and access variables inside them""" +from __future__ import print_function + import lldb_shared import unittest2 diff --git a/lldb/test/lang/c/const_variables/TestConstVariables.py b/lldb/test/lang/c/const_variables/TestConstVariables.py index 30fc91adab4..2f3a7638ab4 100644 --- a/lldb/test/lang/c/const_variables/TestConstVariables.py +++ b/lldb/test/lang/c/const_variables/TestConstVariables.py @@ -1,5 +1,7 @@ """Check that compiler-generated constant values work correctly""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/enum_types/TestEnumTypes.py b/lldb/test/lang/c/enum_types/TestEnumTypes.py index 6f1c52d2844..a8af9603800 100644 --- a/lldb/test/lang/c/enum_types/TestEnumTypes.py +++ b/lldb/test/lang/c/enum_types/TestEnumTypes.py @@ -1,5 +1,7 @@ """Look up enum type information and check for correct display.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/forward/TestForwardDeclaration.py b/lldb/test/lang/c/forward/TestForwardDeclaration.py index 6db0b30b567..430f20b0512 100644 --- a/lldb/test/lang/c/forward/TestForwardDeclaration.py +++ b/lldb/test/lang/c/forward/TestForwardDeclaration.py @@ -1,5 +1,7 @@ """Test that forward declaration of a data structure gets resolved correctly.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/function_types/TestFunctionTypes.py b/lldb/test/lang/c/function_types/TestFunctionTypes.py index fb46ea8be5e..ab5d1bc5166 100644 --- a/lldb/test/lang/c/function_types/TestFunctionTypes.py +++ b/lldb/test/lang/c/function_types/TestFunctionTypes.py @@ -1,5 +1,7 @@ """Test variable with function ptr type and that break on the function works.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/global_variables/TestGlobalVariables.py b/lldb/test/lang/c/global_variables/TestGlobalVariables.py index 7d9c0ddaecd..92f2526e9f0 100644 --- a/lldb/test/lang/c/global_variables/TestGlobalVariables.py +++ b/lldb/test/lang/c/global_variables/TestGlobalVariables.py @@ -1,5 +1,7 @@ """Show global variables and check that they do indeed have global scopes.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/modules/TestCModules.py b/lldb/test/lang/c/modules/TestCModules.py index 5875c777329..c35a687a2bc 100644 --- a/lldb/test/lang/c/modules/TestCModules.py +++ b/lldb/test/lang/c/modules/TestCModules.py @@ -1,5 +1,7 @@ """Test that importing modules in C works as expected.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/register_variables/TestRegisterVariables.py b/lldb/test/lang/c/register_variables/TestRegisterVariables.py index a73bc26e7eb..343dcc8704a 100644 --- a/lldb/test/lang/c/register_variables/TestRegisterVariables.py +++ b/lldb/test/lang/c/register_variables/TestRegisterVariables.py @@ -1,5 +1,7 @@ """Check that compiler-generated register values work correctly""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/set_values/TestSetValues.py b/lldb/test/lang/c/set_values/TestSetValues.py index ae70f77868e..c5685174af5 100644 --- a/lldb/test/lang/c/set_values/TestSetValues.py +++ b/lldb/test/lang/c/set_values/TestSetValues.py @@ -1,5 +1,7 @@ """Test settings and readings of program variables.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/shared_lib/TestSharedLib.py b/lldb/test/lang/c/shared_lib/TestSharedLib.py index dd095272d80..0d478064ea7 100644 --- a/lldb/test/lang/c/shared_lib/TestSharedLib.py +++ b/lldb/test/lang/c/shared_lib/TestSharedLib.py @@ -1,5 +1,7 @@ """Test that types defined in shared libraries work correctly.""" +from __future__ import print_function + import lldb_shared import unittest2 diff --git a/lldb/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py b/lldb/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py index 611a3618a98..e4dac28cfd9 100644 --- a/lldb/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py +++ b/lldb/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py @@ -1,5 +1,7 @@ """Test that types defined in shared libraries with stripped symbols work correctly.""" +from __future__ import print_function + import lldb_shared import unittest2 diff --git a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py index ed50926fa47..170a02b8e65 100644 --- a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py +++ b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py @@ -1,5 +1,7 @@ """Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms.""" +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/stepping/TestThreadStepping.py b/lldb/test/lang/c/stepping/TestThreadStepping.py index e02551b3ac6..db8a726ff57 100644 --- a/lldb/test/lang/c/stepping/TestThreadStepping.py +++ b/lldb/test/lang/c/stepping/TestThreadStepping.py @@ -2,6 +2,8 @@ Test thread stepping features in combination with frame select. """ +from __future__ import print_function + import lldb_shared import os, time diff --git a/lldb/test/lang/c/tls_globals/TestTlsGlobals.py b/lldb/test/lang/c/tls_globals/TestTlsGlobals.py index 305ff3984de..0959154f21a 100644 --- a/lldb/test/lang/c/tls_globals/TestTlsGlobals.py +++ b/lldb/test/lang/c/tls_globals/TestTlsGlobals.py @@ -1,5 +1,7 @@ """Test that thread-local storage can be read correctly.""" +from __future__ import print_function + import lldb_shared import unittest2 diff --git a/lldb/test/lang/c/typedef/Testtypedef.py b/lldb/test/lang/c/typedef/Testtypedef.py index 5c2882b715d..fc8a5a60239 100644 --- a/lldb/test/lang/c/typedef/Testtypedef.py +++ b/lldb/test/lang/c/typedef/Testtypedef.py @@ -1,5 +1,7 @@ """Look up type information for typedefs of same name at different lexical scope and check for correct display.""" +from __future__ import print_function + import lldb_shared import os, time |