Skip to content

Commit 5032c6e

Browse files
committed
[lldb-server] Disable a test on Windows until it can be fixed
llvm-svn: 369083
1 parent a33004a commit 5032c6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ using namespace llvm;
1818
#undef SendMessage
1919
#endif
2020

21+
// Disable this test on Windows as it appears to have a race condition
22+
// that causes lldb-server not to exit after the inferior hangs up.
23+
#if !defined(_WIN32)
2124
TEST_F(TestBase, LaunchModePreservesEnvironment) {
2225
putenv(const_cast<char *>("LLDB_TEST_MAGIC_VARIABLE=LLDB_TEST_MAGIC_VALUE"));
2326

@@ -32,6 +35,7 @@ TEST_F(TestBase, LaunchModePreservesEnvironment) {
3235
HasValue(testing::Property(&StopReply::getKind,
3336
WaitStatus{WaitStatus::Exit, 0})));
3437
}
38+
#endif
3539

3640
TEST_F(TestBase, DS_TEST(DebugserverEnv)) {
3741
// Test that --env takes precedence over inherited environment variables.

0 commit comments

Comments
 (0)