diff options
author | Pavel Labath <labath@google.com> | 2016-07-04 09:27:53 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-07-04 09:27:53 +0000 |
commit | abb79683bbd89043d3e0bf4141f3b7ea54c86dfe (patch) | |
tree | d0ef9a79fefb289b40b3f960310ddf2b5ec2e3a6 /lldb/packages/Python/lldbsuite/test | |
parent | 4721a55e4d1cc1d68e20a439601269d365419712 (diff) | |
download | bcm5719-llvm-abb79683bbd89043d3e0bf4141f3b7ea54c86dfe.tar.gz bcm5719-llvm-abb79683bbd89043d3e0bf4141f3b7ea54c86dfe.zip |
Join TestTlsGlobal tests again and use the proper decorator
llvm-svn: 274490
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py b/lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py index 3aadbc8d7fa..0ca9923c89a 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py +++ b/lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py @@ -27,18 +27,8 @@ class TlsGlobalTestCase(TestBase): self.addTearDownHook(lambda: self.runCmd("settings remove target.env-vars " + self.dylibPath)) @skipIfWindows # TLS works differently on Windows, this would need to be implemented separately. - @skipIfDarwin # Darwin has its own test below and we don't want it to expected fail with decorator below - @unittest2.expectedFailure("llvm.org/pr28392") - def test_non_darwin(self): - '''Mark as expected fail for all except Darwin or Windows''' - self.run_test() - - @skipUnlessDarwin - def test_darwin(self): - '''Always run on darwin with no expected fail''' - self.run_test() - - def run_test(self): + @expectedFailureAll(bugnumber="llvm.org/pr28392", oslist=no_match(lldbplatformutil.getDarwinOSTriples())) + def test(self): """Test thread-local storage.""" self.build() exe = os.path.join(os.getcwd(), "a.out") |