diff options
author | Greg Clayton <gclayton@apple.com> | 2015-10-07 20:38:20 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-10-07 20:38:20 +0000 |
commit | 7d0ea14cb094adcc0302968d50f72471801a74ee (patch) | |
tree | 9bcfb8f70de743e6348697957859fec58d00f14a /lldb/test/functionalities/connect_remote/TestConnectRemote.py | |
parent | 9ec7c3c72efbbd4f20527b16f74dfb33ad49a8cd (diff) | |
download | bcm5719-llvm-7d0ea14cb094adcc0302968d50f72471801a74ee.tar.gz bcm5719-llvm-7d0ea14cb094adcc0302968d50f72471801a74ee.zip |
This test is useless. It doesn't work and it fails on MacOSX. Removing it.
llvm-svn: 249613
Diffstat (limited to 'lldb/test/functionalities/connect_remote/TestConnectRemote.py')
-rw-r--r-- | lldb/test/functionalities/connect_remote/TestConnectRemote.py | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/lldb/test/functionalities/connect_remote/TestConnectRemote.py b/lldb/test/functionalities/connect_remote/TestConnectRemote.py deleted file mode 100644 index 2486afd4832..00000000000 --- a/lldb/test/functionalities/connect_remote/TestConnectRemote.py +++ /dev/null @@ -1,50 +0,0 @@ -""" -Test lldb 'process connect' command. -""" - -import os -import unittest2 -import lldb -import re -from lldbtest import * - -class ConnectRemoteTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) - - @expectedFailureFreeBSD("llvm.org/pr24896") # No stop reply packet on FreeBSD - @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows") - @expectedFailureLinux("llvm.org/pr23475") # Test occasionally times out on the Linux build bot - @skipIfLinux # Test occasionally times out on the Linux build bot - @no_debug_info_test - def test_connect_remote(self): - """Test "process connect connect:://localhost:[port]".""" - - import pexpect - # First, we'll start a fake debugserver (a simple echo server). - fakeserver = pexpect.spawn('./EchoServer.py') - - # Turn on logging for what the child sends back. - if self.TraceOn(): - fakeserver.logfile_read = sys.stdout - - # Schedule the fake debugserver to be shutting down during teardown. - def shutdown_fakeserver(): - fakeserver.close() - self.addTearDownHook(shutdown_fakeserver) - - # Wait until we receive the server ready message before continuing. - line = fakeserver.readline() - self.assertTrue(line.startswith("Listening on localhost:")) - port = int(re.match('Listening on localhost:([0-9]+)', line).group(1)) - self.assertTrue(port > 0) - - # Connect to the fake server.... - self.runCmd("process connect -p gdb-remote connect://localhost:" + str(port)) - - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |