[Lldb-commits] [lldb] r369083 - [lldb-server] Disable a test on Windows until it can be fixed
Aaron Smith via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 15 20:49:41 PDT 2019
Author: asmith
Date: Thu Aug 15 20:49:41 2019
New Revision: 369083
URL: http://llvm.org/viewvc/llvm-project?rev=369083&view=rev
Log:
[lldb-server] Disable a test on Windows until it can be fixed
Modified:
lldb/trunk/unittests/tools/lldb-server/tests/LLGSTest.cpp
Modified: lldb/trunk/unittests/tools/lldb-server/tests/LLGSTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/tools/lldb-server/tests/LLGSTest.cpp?rev=369083&r1=369082&r2=369083&view=diff
==============================================================================
--- lldb/trunk/unittests/tools/lldb-server/tests/LLGSTest.cpp (original)
+++ lldb/trunk/unittests/tools/lldb-server/tests/LLGSTest.cpp Thu Aug 15 20:49:41 2019
@@ -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, LaunchModePreservesEnvi
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.
More information about the lldb-commits
mailing list