[unittests] Disable lldb-server tests if an external debug server is in use
authorVedant Kumar <vsk@apple.com>
Sat, 24 Feb 2018 00:17:04 +0000 (00:17 +0000)
committerVedant Kumar <vsk@apple.com>
Sat, 24 Feb 2018 00:17:04 +0000 (00:17 +0000)
commitf6769ae1760ce3a4ccc2d4a843fcded748d8b0ec
treee8694c07b8abbb37e209f448121e36ba858026bc
parent6f49f4a951c82c2be31b3316eff9516d6c614ea1
[unittests] Disable lldb-server tests if an external debug server is in use

The lldb-server unit tests don't test the right thing when the debug
server in use is copied from somewhere else. This can lead to spurious
test failures.

Disable these unit tests when an external debug server is in use.

Fixes llvm.org/PR36494.

llvm-svn: 326001
lldb/tools/debugserver/source/CMakeLists.txt
lldb/unittests/tools/CMakeLists.txt