summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/cpp/class_static/TestStaticVariables.py
diff options
context:
space:
mode:
authorMatt Kopec <Matt.Kopec@intel.com>2013-08-01 17:22:24 +0000
committerMatt Kopec <Matt.Kopec@intel.com>2013-08-01 17:22:24 +0000
commit5d4bc2a3c385bfbc9145f8d78e398eb94358d6d4 (patch)
tree700322e0132f12a0ab2166823e786649f274e151 /lldb/test/lang/cpp/class_static/TestStaticVariables.py
parent4075315ad084836c45631e3f5d0d0c795ad9f353 (diff)
downloadbcm5719-llvm-5d4bc2a3c385bfbc9145f8d78e398eb94358d6d4.tar.gz
bcm5719-llvm-5d4bc2a3c385bfbc9145f8d78e398eb94358d6d4.zip
Update failing tests on Linux for clang and gcc to only fail on Linux instead of all platforms.
Thanks Stefanus! llvm-svn: 187585
Diffstat (limited to 'lldb/test/lang/cpp/class_static/TestStaticVariables.py')
-rw-r--r--lldb/test/lang/cpp/class_static/TestStaticVariables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/lang/cpp/class_static/TestStaticVariables.py b/lldb/test/lang/cpp/class_static/TestStaticVariables.py
index bf7d962da99..d1f9f8118c2 100644
--- a/lldb/test/lang/cpp/class_static/TestStaticVariables.py
+++ b/lldb/test/lang/cpp/class_static/TestStaticVariables.py
@@ -11,6 +11,7 @@ import lldbutil
class StaticVariableTestCase(TestBase):
mydir = os.path.join("lang", "cpp", "class_static")
+ failing_compilers = ['clang', 'gcc']
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
@@ -19,8 +20,7 @@ class StaticVariableTestCase(TestBase):
self.buildDsym()
self.static_variable_commands()
- @expectedFailureClang # llvm.org/pr15261: lldb on Linux does not display the size of (class or file)static arrays
- @expectedFailureGcc # llvm.org/pr15261: lldb on Linux does not display the size of (class or file)static arrays
+ @expectedFailureLinux('llvm.org/pr15261', failing_compilers) # 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."""
OpenPOWER on IntegriCloud