summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-05-15 18:48:32 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-05-15 18:48:32 +0000
commite8bdd1f5c05fb617354bca8ce3c8bc933b00d350 (patch)
treef474c4656273c8dd864482fe70dbb4e660f18993
parent5c42d8a87ca7e3744c42926092444994595a688e (diff)
downloadbcm5719-llvm-e8bdd1f5c05fb617354bca8ce3c8bc933b00d350.tar.gz
bcm5719-llvm-e8bdd1f5c05fb617354bca8ce3c8bc933b00d350.zip
Clean up linux test decorators and add links to known bugs
- s/skipOnLinux/skipIfLinux/ to match style of every other decorator - linkify bugizilla/PR numbers in comments No intended change in functionality. llvm-svn: 181913
-rw-r--r--lldb/test/expression_command/call-function/TestCallStdStringFunction.py2
-rw-r--r--lldb/test/expression_command/call-restarts/TestCallThatRestarts.py2
-rw-r--r--lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py2
-rw-r--r--lldb/test/functionalities/command_script/TestCommandScript.py2
-rw-r--r--lldb/test/functionalities/command_script/import/TestImport.py2
-rw-r--r--lldb/test/functionalities/completion/TestCompletion.py2
-rw-r--r--lldb/test/functionalities/conditional_break/TestConditionalBreak.py2
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py2
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py2
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py2
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py2
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py2
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py2
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py2
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py2
-rw-r--r--lldb/test/functionalities/dead-strip/TestDeadStrip.py2
-rw-r--r--lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py2
-rw-r--r--lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py2
-rw-r--r--lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py4
-rw-r--r--lldb/test/functionalities/load_unload/TestLoadUnload.py10
-rw-r--r--lldb/test/functionalities/platform/TestPlatformCommand.py2
-rw-r--r--lldb/test/functionalities/register/TestRegisters.py2
-rw-r--r--lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py2
-rw-r--r--lldb/test/functionalities/stop-hook/TestStopHookMechanism.py2
-rw-r--r--lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py2
-rw-r--r--lldb/test/functionalities/thread/state/TestThreadStates.py8
-rw-r--r--lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py4
-rw-r--r--lldb/test/lang/c/const_variables/TestConstVariables.py2
-rw-r--r--lldb/test/lang/c/stepping/TestStepAndBreakpoints.py2
-rw-r--r--lldb/test/lang/cpp/class_static/TestStaticVariables.py2
-rw-r--r--lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py4
-rw-r--r--lldb/test/lang/cpp/namespace/TestNamespace.py2
-rw-r--r--lldb/test/linux/builtin_trap/TestBuiltinTrap.py2
-rw-r--r--lldb/test/lldbtest.py4
-rw-r--r--lldb/test/python_api/lldbutil/iter/TestRegistersIterator.py2
-rw-r--r--lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py2
-rw-r--r--lldb/test/python_api/sbdata/TestSBData.py2
-rw-r--r--lldb/test/python_api/thread/TestThreadAPI.py2
-rw-r--r--lldb/test/python_api/value/change_values/TestChangeValueAPI.py2
-rw-r--r--lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py2
-rw-r--r--lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py2
41 files changed, 52 insertions, 52 deletions
diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
index ed24c44b756..c3e93efaf7b 100644
--- a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
+++ b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
@@ -26,7 +26,7 @@ class ExprCommandCallFunctionTestCase(TestBase):
self.call_function()
@dwarf_test
- @expectedFailureGcc # bugzilla 14437, fails with GCC 4.6.3 and 4.7.2
+ @expectedFailureGcc # llvm.org/pr14437, fails with GCC 4.6.3 and 4.7.2
def test_with_dwarf(self):
"""Test calling std::String member function."""
self.buildDwarf()
diff --git a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py
index 80d277d72f4..9c57d98f5f5 100644
--- a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py
+++ b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py
@@ -26,7 +26,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase):
self.buildDsym()
self.call_function()
- @skipOnLinux # PR-15278: handle expressions that generate signals on Linux
+ @skipIfLinux # llvm.org/pr15278: handle expressions that generate signals on Linux
@dwarf_test
def test_with_dwarf(self):
"""Test calling std::String member function."""
diff --git a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
index 2b0d11f2f35..ed8501b334b 100644
--- a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
+++ b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
@@ -20,7 +20,7 @@ class Radar9673644TestCase(TestBase):
self.line = line_number(self.main_source, '// Set breakpoint here.')
# rdar://problem/9673664
- @skipOnLinux # PR-14805: expressions that require memory allocation evaluate incorrectly on Linux
+ @skipIfLinux # llvm.org/pr14805: expressions that require memory allocation evaluate incorrectly on Linux
def test_expr_commands(self):
"""The following expression commands should just work."""
self.buildDefault()
diff --git a/lldb/test/functionalities/command_script/TestCommandScript.py b/lldb/test/functionalities/command_script/TestCommandScript.py
index f28807d35c0..db29c6da3cf 100644
--- a/lldb/test/functionalities/command_script/TestCommandScript.py
+++ b/lldb/test/functionalities/command_script/TestCommandScript.py
@@ -18,7 +18,7 @@ class CmdPythonTestCase(TestBase):
self.pycmd_tests ()
@dwarf_test
- @skipOnLinux # causes buildbot failures, skip until we can investigate it
+ @skipIfLinux # causes buildbot failures, skip until we can investigate it
def test_with_dwarf (self):
self.buildDwarf ()
self.pycmd_tests ()
diff --git a/lldb/test/functionalities/command_script/import/TestImport.py b/lldb/test/functionalities/command_script/import/TestImport.py
index b4accc07db7..2356fcee850 100644
--- a/lldb/test/functionalities/command_script/import/TestImport.py
+++ b/lldb/test/functionalities/command_script/import/TestImport.py
@@ -10,7 +10,7 @@ class ImportTestCase(TestBase):
mydir = os.path.join("functionalities", "command_script", "import")
@python_api_test
- @skipOnLinux # causes buildbot failures, skip until we can investigate it
+ @skipIfLinux # causes buildbot failures, skip until we can investigate it
def test_import_command(self):
"""Import some Python scripts by path and test them"""
self.run_test()
diff --git a/lldb/test/functionalities/completion/TestCompletion.py b/lldb/test/functionalities/completion/TestCompletion.py
index 5a4539390e6..2e268b93c87 100644
--- a/lldb/test/functionalities/completion/TestCompletion.py
+++ b/lldb/test/functionalities/completion/TestCompletion.py
@@ -34,7 +34,7 @@ class CommandLineCompletionTestCase(TestBase):
self.complete_from_to('process attach --con', 'process attach --continue ')
# <rdar://problem/11052829>
- @skipOnLinux # llvm.org/pr14637: this test case fails (with GCC 4.6 but not clang) because the input prompt "(lldb)" is missing
+ @skipIfLinux # llvm.org/pr14637: this test case fails (with GCC 4.6 but not clang) because the input prompt "(lldb)" is missing
def test_infinite_loop_while_completing(self):
"""Test that 'process print hello\' completes to itself and does not infinite loop."""
self.complete_from_to('process print hello\\', 'process print hello\\',
diff --git a/lldb/test/functionalities/conditional_break/TestConditionalBreak.py b/lldb/test/functionalities/conditional_break/TestConditionalBreak.py
index 20a1eaa2ace..b9625cff09b 100644
--- a/lldb/test/functionalities/conditional_break/TestConditionalBreak.py
+++ b/lldb/test/functionalities/conditional_break/TestConditionalBreak.py
@@ -40,7 +40,7 @@ class ConditionalBreakTestCase(TestBase):
self.simulate_conditional_break_by_user()
@dwarf_test
- @skipOnLinux # due to two assertion failures introduced by r174793: ProcessPOSIX.cpp:223 (assertion 'state == eStateStopped || state == eStateCrashed') and POSIXThread.cpp:254 (assertion 'bp_site')
+ @skipIfLinux # due to two assertion failures introduced by r174793: ProcessPOSIX.cpp:223 (assertion 'state == eStateStopped || state == eStateCrashed') and POSIXThread.cpp:254 (assertion 'bp_site')
def test_with_dwarf_command(self):
"""Simulate a user using lldb commands to break on c() if called from a()."""
self.buildDwarf()
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
index 97d8082cf54..1caf228ec99 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
@@ -19,7 +19,7 @@ class LibcxxIteratorDataFormatterTestCase(TestBase):
self.buildDsym()
self.data_formatter_commands()
- @skipOnLinux # No standard locations for libc++ on Linux, so skip for now
+ @skipIfLinux # No standard locations for libc++ on Linux, so skip for now
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
index f075cff9b16..6939d79a526 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
@@ -19,7 +19,7 @@ class LibcxxListDataFormatterTestCase(TestBase):
self.buildDsym()
self.data_formatter_commands()
- @skipOnLinux # No standard locations for libc++ on Linux, so skip for now
+ @skipIfLinux # No standard locations for libc++ on Linux, so skip for now
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
index d339b7b9052..ff5a0266cc2 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
@@ -19,7 +19,7 @@ class LibcxxMapDataFormatterTestCase(TestBase):
self.buildDsym()
self.data_formatter_commands()
- @skipOnLinux # No standard locations for libc++ on Linux, so skip for now
+ @skipIfLinux # No standard locations for libc++ on Linux, so skip for now
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
index ca771e1c5b8..7b032f9ac6e 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
@@ -20,7 +20,7 @@ class LibcxxStringDataFormatterTestCase(TestBase):
self.buildDsym()
self.data_formatter_commands()
- @skipOnLinux # No standard locations for libc++ on Linux, so skip for now
+ @skipIfLinux # No standard locations for libc++ on Linux, so skip for now
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
index 07baa29f8da..a1bc5d00c6d 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
@@ -19,7 +19,7 @@ class LibcxxVBoolDataFormatterTestCase(TestBase):
self.buildDsym()
self.data_formatter_commands()
- @skipOnLinux # No standard locations for libc++ on Linux, so skip for now
+ @skipIfLinux # No standard locations for libc++ on Linux, so skip for now
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
index 6dcb8ca8d93..56ab1394805 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
@@ -19,7 +19,7 @@ class LibcxxVectorDataFormatterTestCase(TestBase):
self.buildDsym()
self.data_formatter_commands()
- @skipOnLinux # No standard locations for libc++ on Linux, so skip for now
+ @skipIfLinux # No standard locations for libc++ on Linux, so skip for now
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
index ac67b90a10f..6e373606bf4 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
@@ -20,7 +20,7 @@ class StdStringDataFormatterTestCase(TestBase):
self.buildDsym()
self.data_formatter_commands()
- @skipOnLinux # No standard locations for libc++ on Linux, so skip for now
+ @skipIfLinux # No standard locations for libc++ on Linux, so skip for now
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
index 8de8be7a054..973cb5bf1ce 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
@@ -31,7 +31,7 @@ class StdVBoolDataFormatterTestCase(TestBase):
# Find the line number to break at.
self.line = line_number('main.cpp', '// Set break point at this line.')
- @expectedFailureGcc # PR-15301: lldb does not print the correct sizes of STL containers when building with GCC
+ @expectedFailureGcc # llvm.org/pr15301: lldb does not print the correct sizes of STL containers when building with GCC
def data_formatter_commands(self):
"""Test that that file and class static variables display correctly."""
self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
diff --git a/lldb/test/functionalities/dead-strip/TestDeadStrip.py b/lldb/test/functionalities/dead-strip/TestDeadStrip.py
index f3feb4f5219..759fec7eb67 100644
--- a/lldb/test/functionalities/dead-strip/TestDeadStrip.py
+++ b/lldb/test/functionalities/dead-strip/TestDeadStrip.py
@@ -19,7 +19,7 @@ class DeadStripTestCase(TestBase):
self.buildDsym()
self.dead_strip()
- @skipOnLinux # The -dead_strip linker option isn't supported on Linux versions of ld.
+ @skipIfLinux # The -dead_strip linker option isn't supported on Linux versions of ld.
@dwarf_test
def test_with_dwarf(self):
"""Test breakpoint works correctly with dead-code stripping."""
diff --git a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py b/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
index 019d60898b1..73f9d34652f 100644
--- a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
+++ b/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
@@ -18,7 +18,7 @@ class ConvenienceVariablesCase(TestBase):
self.convenience_variables()
@dwarf_test
- @skipOnLinux # llvm.org/pr14637: this test case fails sometimes because the input prompt "(lldb)" is missing
+ @skipIfLinux # llvm.org/pr14637: this test case fails sometimes because the input prompt "(lldb)" is missing
def test_with_dwarf_and_run_commands(self):
"""Test convenience variables lldb.debugger, lldb.target, lldb.process, lldb.thread, and lldb.frame."""
self.buildDwarf()
diff --git a/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py b/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
index 6f6ee386e9f..b929915ead5 100644
--- a/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
+++ b/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
@@ -23,7 +23,7 @@ class ExprDoesntDeadlockTestCase(TestBase):
self.expr_doesnt_deadlock()
@dwarf_test
- @skipOnLinux # PR-15258: disabled due to assertion failure in ProcessMonitor::GetCrashReasonForSIGSEGV:
+ @skipIfLinux # llvm.org/pr15258: disabled due to assertion failure in ProcessMonitor::GetCrashReasonForSIGSEGV:
def test_with_dwarf_and_run_command(self):
"""Test that expr will time out and allow other threads to run if it blocks."""
self.buildDwarf()
diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
index 01fe6b2e2b8..63326eabdd9 100644
--- a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
+++ b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
@@ -65,7 +65,7 @@ class CrashingInferiorTestCase(TestBase):
self.buildDsym()
self.inferior_crashing_step_after_break()
- @expectedFailureLinux # due to bugzilla 15988 -- step over misbehaves after crash
+ @expectedFailureLinux # due to llvm.org/pr15988 -- step over misbehaves after crash
def test_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()
@@ -77,7 +77,7 @@ class CrashingInferiorTestCase(TestBase):
self.buildDsym()
self.inferior_crashing_expr_step_expr()
- @expectedFailureLinux # due to bugzilla 15989 -- expression fails after crash and step
+ @expectedFailureLinux # due to llvm.org/pr15989 -- expression fails after crash and step
def test_inferior_crashing_expr_step_and_expr_dwarf(self):
"""Test that lldb expressions work before and after stepping after a crash."""
self.buildDwarf()
diff --git a/lldb/test/functionalities/load_unload/TestLoadUnload.py b/lldb/test/functionalities/load_unload/TestLoadUnload.py
index d6e48681ad8..d808bc82989 100644
--- a/lldb/test/functionalities/load_unload/TestLoadUnload.py
+++ b/lldb/test/functionalities/load_unload/TestLoadUnload.py
@@ -25,7 +25,7 @@ class LoadUnloadTestCase(TestBase):
self.line_d_function = line_number('d.c',
'// Find this line number within d_dunction().')
- @skipOnLinux # bugzilla 14424 - missing linux Makefiles/testcase support
+ @skipIfLinux # llvm.org/pr14424 - missing linux Makefiles/testcase support
def test_modules_search_paths(self):
"""Test target modules list after loading a different copy of the library libd.dylib, and verifies that it works with 'target modules search-paths add'."""
@@ -78,7 +78,7 @@ class LoadUnloadTestCase(TestBase):
self.expect("target modules list", "LLDB successfully locates the relocated dynamic library",
substrs = [new_dylib])
- @skipOnLinux # bugzilla 14424 - missing linux Makefiles/testcase support
+ @skipIfLinux # llvm.org/pr14424 - missing linux Makefiles/testcase support
def test_dyld_library_path(self):
"""Test DYLD_LIBRARY_PATH after moving libd.dylib, which defines d_function, somewhere else."""
@@ -132,7 +132,7 @@ class LoadUnloadTestCase(TestBase):
self.expect("target modules list",
substrs = [special_dir, os.path.basename(new_dylib)])
- @skipOnLinux # bugzilla 14424 - missing linux Makefiles/testcase support
+ @skipIfLinux # llvm.org/pr14424 - missing linux Makefiles/testcase support
def test_lldb_process_load_and_unload_commands(self):
"""Test that lldb process load/unload command work correctly."""
@@ -179,7 +179,7 @@ class LoadUnloadTestCase(TestBase):
self.runCmd("process continue")
- @skipOnLinux # bugzilla 14424 - missing linux Makefiles/testcase support
+ @skipIfLinux # llvm.org/pr14424 - missing linux Makefiles/testcase support
def test_load_unload(self):
"""Test breakpoint by name works correctly with dlopen'ing."""
@@ -219,7 +219,7 @@ class LoadUnloadTestCase(TestBase):
self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE,
substrs = [' resolved, hit count = 2'])
- @skipOnLinux # bugzilla 14424 - missing linux Makefiles/testcase support
+ @skipIfLinux # llvm.org/pr14424 - missing linux Makefiles/testcase support
def test_step_over_load (self):
"""Test stepping over code that loads a shared library works correctly."""
diff --git a/lldb/test/functionalities/platform/TestPlatformCommand.py b/lldb/test/functionalities/platform/TestPlatformCommand.py
index 5e2dee5950d..8aab0e5cf52 100644
--- a/lldb/test/functionalities/platform/TestPlatformCommand.py
+++ b/lldb/test/functionalities/platform/TestPlatformCommand.py
@@ -27,7 +27,7 @@ class PlatformCommandTestCase(TestBase):
self.expect("platform process info", error=True,
substrs = ['one or more process id(s) must be specified'])
- @expectedFailureLinux # due to bugzilla 14806 -- "platform status" prints more information on Mac OS X than on Linux
+ @expectedFailureLinux # due to llvm.org/pr14806 -- "platform status" prints more information on Mac OS X than on Linux
def test_status(self):
self.expect("platform status",
substrs = ['Platform', 'Triple', 'OS Version', 'Kernel', 'Hostname'])
diff --git a/lldb/test/functionalities/register/TestRegisters.py b/lldb/test/functionalities/register/TestRegisters.py
index 8789390b300..d3b8d0d22ed 100644
--- a/lldb/test/functionalities/register/TestRegisters.py
+++ b/lldb/test/functionalities/register/TestRegisters.py
@@ -45,7 +45,7 @@ class RegisterCommandsTestCase(TestBase):
self.buildDefault()
self.convenience_registers()
- @skipOnLinux # Expression evaluation fails after attach by pid
+ @skipIfLinux # Expression evaluation fails after attach by pid
def test_convenience_registers_with_process_attach(self):
"""Test convenience registers after a 'process attach'."""
if not self.getArchitecture() in ['x86_64']:
diff --git a/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py b/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
index 488db78fe70..9b0be67fa05 100644
--- a/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
+++ b/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
@@ -23,7 +23,7 @@ class SingleQuoteInCommandLineTestCase(TestBase):
except:
pass
- @skipOnLinux # llvm.org/pr14637: this test case fails sometimes because the input prompt "(lldb)" is missing
+ @skipIfLinux # llvm.org/pr14637: this test case fails sometimes because the input prompt "(lldb)" is missing
def test_lldb_invocation_with_single_quote_in_filename(self):
"""Test that 'lldb my_file_name' works where my_file_name is a string with a single quote char in it."""
self.buildDefault()
diff --git a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py b/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
index eac7392b824..dc2eed3b7e2 100644
--- a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
+++ b/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py
@@ -19,7 +19,7 @@ class StopHookMechanismTestCase(TestBase):
self.buildDsym()
self.stop_hook_firing()
- @skipOnLinux # PR-15037: stop-hooks sometimes fail to fire on Linux (disabled to avoid needless noise)
+ @skipIfLinux # llvm.org/pr15037: stop-hooks sometimes fail to fire on Linux (disabled to avoid needless noise)
@dwarf_test
def test_with_dwarf(self):
"""Test the stop-hook mechanism."""
diff --git a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py b/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
index 34f1d7076a3..e83a8aa867c 100644
--- a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
+++ b/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
@@ -21,7 +21,7 @@ class StopHookForMultipleThreadsTestCase(TestBase):
self.stop_hook_multiple_threads()
@dwarf_test
- @skipOnLinux # due to bugzilla 14323
+ @skipIfLinux # due to llvm.org/pr14323
def test_stop_hook_multiple_threads_with_dwarf(self):
"""Test that lldb stop-hook works for multiple threads."""
self.buildDwarf(dictionary=self.d)
diff --git a/lldb/test/functionalities/thread/state/TestThreadStates.py b/lldb/test/functionalities/thread/state/TestThreadStates.py
index 185eb50106a..22b51bf1a95 100644
--- a/lldb/test/functionalities/thread/state/TestThreadStates.py
+++ b/lldb/test/functionalities/thread/state/TestThreadStates.py
@@ -53,14 +53,14 @@ class StopThreadsTestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
- @unittest2.expectedFailure("PR-15824") # thread states not properly maintained
+ @unittest2.expectedFailure("llvm.org/pr15824") # thread states not properly maintained
def test_process_interrupt_with_dsym(self):
"""Test process interrupt."""
self.buildDsym()
self.process_interrupt_test()
@dwarf_test
- @unittest2.expectedFailure("PR-15824") # thread states not properly maintained
+ @unittest2.expectedFailure("llvm.org/pr15824") # thread states not properly maintained
def test_process_interrupt_with_dwarf(self):
"""Test process interrupt."""
self.buildDwarf()
@@ -68,14 +68,14 @@ class StopThreadsTestCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
- @unittest2.expectedFailure("PR-15824") # thread states not properly maintained
+ @unittest2.expectedFailure("llvm.org/pr15824") # thread states not properly maintained
def test_process_state_with_dsym(self):
"""Test thread states (comprehensive)."""
self.buildDsym()
self.thread_states_test()
@dwarf_test
- @unittest2.expectedFailure("PR-15824") # thread states not properly maintained
+ @unittest2.expectedFailure("llvm.org/pr15824") # thread states not properly maintained
def test_process_state_with_dwarf(self):
"""Test thread states (comprehensive)."""
self.buildDwarf()
diff --git a/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py b/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
index 7eced9dfcd3..fabfd7063ee 100644
--- a/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
+++ b/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
@@ -21,7 +21,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_multiple_threads()
- @skipOnLinux # bugzilla 14323 - skip due to incomplete multi-threaded debug support
+ @skipIfLinux # llvm.org/pr14323 - skip due to incomplete multi-threaded debug support
@dwarf_test
def test_watchpoint_multiple_threads_with_dwarf(self):
"""Test that lldb watchpoint works for multiple threads."""
@@ -37,7 +37,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_multiple_threads_wp_set_and_then_delete()
- @skipOnLinux # bugzilla 14323 - skip due to incomplete multi-threaded debug support
+ @skipIfLinux # llvm.org/pr14323 - skip due to incomplete multi-threaded debug support
@dwarf_test
def test_watchpoint_multiple_threads_wp_set_and_then_delete_with_dwarf(self):
"""Test that lldb watchpoint works for multiple threads, and after the watchpoint is deleted, the watchpoint event should no longer fires."""
diff --git a/lldb/test/lang/c/const_variables/TestConstVariables.py b/lldb/test/lang/c/const_variables/TestConstVariables.py
index 621d2f508fa..8c2c6b27973 100644
--- a/lldb/test/lang/c/const_variables/TestConstVariables.py
+++ b/lldb/test/lang/c/const_variables/TestConstVariables.py
@@ -17,7 +17,7 @@ class ConstVariableTestCase(TestBase):
self.buildDsym()
self.const_variable()
- @skipOnLinux # This test works with gcc, but fails with newer version of clang on Linux due to a clang issue. Bug number TDB.
+ @skipIfLinux # This test works with gcc, but fails with newer version of clang on Linux due to a clang issue. Bug number TDB.
@dwarf_test
@unittest2.expectedFailure(13314878)
def test_with_dwarf_and_run_command(self):
diff --git a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py
index 19aaef519b9..736ce17de1c 100644
--- a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py
+++ b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py
@@ -21,7 +21,7 @@ class TestObjCStepping(TestBase):
self.buildDsym()
self.step_over_stepping()
- @expectedFailureLinux # bugzilla 14437
+ @expectedFailureLinux # llvm.org/pr14437
@python_api_test
@dwarf_test
def test_with_dwarf_and_python_api(self):
diff --git a/lldb/test/lang/cpp/class_static/TestStaticVariables.py b/lldb/test/lang/cpp/class_static/TestStaticVariables.py
index 09cbd105916..2a8577642de 100644
--- a/lldb/test/lang/cpp/class_static/TestStaticVariables.py
+++ b/lldb/test/lang/cpp/class_static/TestStaticVariables.py
@@ -19,7 +19,7 @@ class StaticVariableTestCase(TestBase):
self.buildDsym()
self.static_variable_commands()
- @expectedFailureLinux # PR-15261: lldb on Linux does not display the size of (class or file)static arrays
+ @expectedFailureLinux # llvm.org/pr15261: lldb on Linux does not display the size of (class or file)static arrays
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test that file and class static variables display correctly."""
diff --git a/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py b/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py
index 6c2bebbdd96..d181923d4a4 100644
--- a/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py
+++ b/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py
@@ -20,7 +20,7 @@ class IterateFrameAndDisassembleTestCase(TestBase):
self.disassemble_call_stack()
@dwarf_test
- @expectedFailureLinux # due to bugzilla 14540
+ @expectedFailureLinux # due to llvm.org/pr14540
def test_with_dwarf_and_run_command(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()
@@ -36,7 +36,7 @@ class IterateFrameAndDisassembleTestCase(TestBase):
@python_api_test
@dwarf_test
- @expectedFailureLinux # due to bugzilla 14540
+ @expectedFailureLinux # due to llvm.org/pr14540
def test_with_dwarf_and_python_api(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()
diff --git a/lldb/test/lang/cpp/namespace/TestNamespace.py b/lldb/test/lang/cpp/namespace/TestNamespace.py
index 91c8461f9cd..f13d158b60c 100644
--- a/lldb/test/lang/cpp/namespace/TestNamespace.py
+++ b/lldb/test/lang/cpp/namespace/TestNamespace.py
@@ -21,7 +21,7 @@ class NamespaceTestCase(TestBase):
self.namespace_variable_commands()
# rdar://problem/8668674
- @expectedFailureGcc # PR-15302: lldb does not print 'anonymous namespace' when the inferior is built with GCC (4.7)
+ @expectedFailureGcc # llvm.org/pr15302: lldb does not print 'anonymous namespace' when the inferior is built with GCC (4.7)
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test that anonymous and named namespace variables display correctly."""
diff --git a/lldb/test/linux/builtin_trap/TestBuiltinTrap.py b/lldb/test/linux/builtin_trap/TestBuiltinTrap.py
index 2e807fa507d..ef4e370a5f4 100644
--- a/lldb/test/linux/builtin_trap/TestBuiltinTrap.py
+++ b/lldb/test/linux/builtin_trap/TestBuiltinTrap.py
@@ -21,7 +21,7 @@ class BuiltinTrapTestCase(TestBase):
self.builtin_trap_unwind()
@dwarf_test
- @expectedFailureGcc # PR-15936: LLDB is omits a function that contains an
+ @expectedFailureGcc # llvm.org/pr15936: LLDB is omits a function that contains an
# illegal opcode from backtraces. This
# failure is GCC 4.6 specific.
def test_with_dwarf_and_run_command(self):
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index aa370d68ac6..a7a2211314f 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -585,10 +585,10 @@ def expectedFailureDarwin(bugnumber=None):
return wrapper
return expectedFailureDarwin_impl
-def skipOnLinux(func):
+def skipIfLinux(func):
"""Decorate the item to skip tests that should be skipped on Linux."""
if isinstance(func, type) and issubclass(func, unittest2.TestCase):
- raise Exception("@skipOnLinux can only be used to decorate a test method")
+ raise Exception("@skipIfLinux can only be used to decorate a test method")
@wraps(func)
def wrapper(*args, **kwargs):
from unittest2 import case
diff --git a/lldb/test/python_api/lldbutil/iter/TestRegistersIterator.py b/lldb/test/python_api/lldbutil/iter/TestRegistersIterator.py
index 2f33718acb6..d62bc175267 100644
--- a/lldb/test/python_api/lldbutil/iter/TestRegistersIterator.py
+++ b/lldb/test/python_api/lldbutil/iter/TestRegistersIterator.py
@@ -18,7 +18,7 @@ class RegistersIteratorTestCase(TestBase):
# Find the line number to break inside main().
self.line1 = line_number('main.cpp', '// Set break point at this line.')
- @expectedFailureLinux # bugzilla 14600 - Exception state registers not supported on Linux
+ @expectedFailureLinux # llvm.org/pr14600 - Exception state registers not supported on Linux
@python_api_test
def test_iter_registers(self):
"""Test iterator works correctly for lldbutil.iter_registers()."""
diff --git a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py
index 3d90fd70cb3..a0873e611b6 100644
--- a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py
+++ b/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py
@@ -18,7 +18,7 @@ class ThreadsStackTracesTestCase(TestBase):
# Find the line number to break inside main().
self.line = line_number('main.cpp', '// Set break point at this line.')
- @expectedFailureLinux # bugzilla 14323
+ @expectedFailureLinux # llvm.org/pr14323
@python_api_test
def test_stack_traces(self):
"""Test SBprocess and SBThread APIs with printing of the stack traces."""
diff --git a/lldb/test/python_api/sbdata/TestSBData.py b/lldb/test/python_api/sbdata/TestSBData.py
index dfb89076a60..4fd227fcc47 100644
--- a/lldb/test/python_api/sbdata/TestSBData.py
+++ b/lldb/test/python_api/sbdata/TestSBData.py
@@ -235,7 +235,7 @@ class SBDataAPICase(TestBase):
self.assert_data(data.GetUnsignedInt8, offset, 68)
offset += 1
- # check the new API calls introduced per LLVM bugzilla enhancement request
+ # check the new API calls introduced per LLVM llvm.org/prenhancement request
# 11619 (Allow creating SBData values from arrays or primitives in Python)
hello_str = "hello!"
diff --git a/lldb/test/python_api/thread/TestThreadAPI.py b/lldb/test/python_api/thread/TestThreadAPI.py
index 83b5155814d..4eb09c2a38f 100644
--- a/lldb/test/python_api/thread/TestThreadAPI.py
+++ b/lldb/test/python_api/thread/TestThreadAPI.py
@@ -74,7 +74,7 @@ class ThreadAPITestCase(TestBase):
self.setTearDownCleanup(dictionary=d)
self.step_out_of_malloc_into_function_b(self.exe_name)
- @expectedFailureLinux # bugzilla 14416
+ @expectedFailureLinux # llvm.org/pr14416
@python_api_test
@dwarf_test
def test_step_out_of_malloc_into_function_b_with_dwarf(self):
diff --git a/lldb/test/python_api/value/change_values/TestChangeValueAPI.py b/lldb/test/python_api/value/change_values/TestChangeValueAPI.py
index ecbd5da37cf..3d80fa3411c 100644
--- a/lldb/test/python_api/value/change_values/TestChangeValueAPI.py
+++ b/lldb/test/python_api/value/change_values/TestChangeValueAPI.py
@@ -41,7 +41,7 @@ class ChangeValueAPITestCase(TestBase):
self.check_line = line_number('main.c', '// Stop here and check values')
self.end_line = line_number ('main.c', '// Set a breakpoint here at the end')
- @skipIfGcc # PR-15039: If GCC is the test compiler, stdout is not available via lldb.SBProcess.GetSTDOUT()
+ @skipIfGcc # llvm.org/pr15039: If GCC is the test compiler, stdout is not available via lldb.SBProcess.GetSTDOUT()
def change_value_api(self, exe_name):
"""Exercise some SBValue APIs."""
exe = os.path.join(os.getcwd(), exe_name)
diff --git a/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py b/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
index 454d7b81af1..cfd4e58fd85 100644
--- a/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
+++ b/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
@@ -30,7 +30,7 @@ class SetWatchlocationAPITestCase(TestBase):
self.buildDsym()
self.do_set_watchlocation()
- @expectedFailureLinux # bugzilla 14416
+ @expectedFailureLinux # llvm.org/pr14416
@python_api_test
@dwarf_test
def test_watch_location_with_dwarf(self):
diff --git a/lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py b/lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
index fd0a1aa4fcc..303128ae28f 100644
--- a/lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
+++ b/lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
@@ -30,7 +30,7 @@ class TargetWatchAddressAPITestCase(TestBase):
self.buildDsym()
self.do_set_watchaddress()
- @expectedFailureLinux # bugzilla 14416
+ @expectedFailureLinux # llvm.org/pr14416
@python_api_test
@dwarf_test
def test_watch_address_with_dwarf(self):
OpenPOWER on IntegriCloud