summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Smith <aaron.smith@microsoft.com>2019-08-16 03:49:41 +0000
committerAaron Smith <aaron.smith@microsoft.com>2019-08-16 03:49:41 +0000
commit5032c6ea080372a3222cb91e684f5723f06a9b3a (patch)
tree0a347fb85ba1c2fe208b3a59a3f630b9439bc980
parenta33004aca708e49bfe4d0914b9d34da6d0abe330 (diff)
downloadbcm5719-llvm-5032c6ea080372a3222cb91e684f5723f06a9b3a.tar.gz
bcm5719-llvm-5032c6ea080372a3222cb91e684f5723f06a9b3a.zip
[lldb-server] Disable a test on Windows until it can be fixed
llvm-svn: 369083
-rw-r--r--lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp b/lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp
index 74d7551a1ab..1cd8e0d38b9 100644
--- a/lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp
+++ b/lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp
@@ -18,6 +18,9 @@ using namespace llvm;
#undef SendMessage
#endif
+// Disable this test on Windows as it appears to have a race condition
+// that causes lldb-server not to exit after the inferior hangs up.
+#if !defined(_WIN32)
TEST_F(TestBase, LaunchModePreservesEnvironment) {
putenv(const_cast<char *>("LLDB_TEST_MAGIC_VARIABLE=LLDB_TEST_MAGIC_VALUE"));
@@ -32,6 +35,7 @@ TEST_F(TestBase, LaunchModePreservesEnvironment) {
HasValue(testing::Property(&StopReply::getKind,
WaitStatus{WaitStatus::Exit, 0})));
}
+#endif
TEST_F(TestBase, DS_TEST(DebugserverEnv)) {
// Test that --env takes precedence over inherited environment variables.
OpenPOWER on IntegriCloud