From 5032c6ea080372a3222cb91e684f5723f06a9b3a Mon Sep 17 00:00:00 2001 From: Aaron Smith Date: Fri, 16 Aug 2019 03:49:41 +0000 Subject: [PATCH] [lldb-server] Disable a test on Windows until it can be fixed llvm-svn: 369083 --- lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp b/lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp index 74d7551a1ab09e..1cd8e0d38b9c98 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("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.