tests: process connect needs "-p gdb-remote" on FreeBSD as on Linux

llvm-svn: 187418
This commit is contained in:
Ed Maste 2013-07-30 13:25:27 +00:00
parent 3feb17c452
commit ed71850ab2
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class ConnectRemoteTestCase(TestBase):
fakeserver.expect_exact('Listening on localhost:12345')
# Connect to the fake server....
if sys.platform.startswith("linux"):
if sys.platform.startswith('freebsd') or sys.platform.startswith("linux"):
self.runCmd("process connect -p gdb-remote connect://localhost:12345")
else:
self.runCmd("process connect connect://localhost:12345")