Skip to content

Commit

Permalink
[lldb-server] Disable a test on Windows until it can be fixed
Browse files Browse the repository at this point in the history
llvm-svn: 369083
  • Loading branch information
aaronsm committed Aug 16, 2019
1 parent a33004a commit 5032c6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lldb/unittests/tools/lldb-server/tests/LLGSTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand All @@ -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.
Expand Down

0 comments on commit 5032c6e

Please sign in to comment.