mgorny updated this revision to Diff 185815. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57912/new/
https://reviews.llvm.org/D57912 Files: lldb/unittests/Host/MainLoopTest.cpp Index: lldb/unittests/Host/MainLoopTest.cpp =================================================================== --- lldb/unittests/Host/MainLoopTest.cpp +++ lldb/unittests/Host/MainLoopTest.cpp @@ -108,6 +108,9 @@ } #ifdef LLVM_ON_UNIX +// NetBSD currently does not report slave pty EOF via kevent +// causing this test to hang forever. +#ifndef __NetBSD__ TEST_F(MainLoopTest, DetectsEOF) { PseudoTerminal term; ASSERT_TRUE(term.OpenFirstAvailableMaster(O_RDWR, nullptr, 0)); @@ -125,6 +128,7 @@ ASSERT_TRUE(loop.Run().Success()); ASSERT_EQ(1u, callback_count); } +#endif TEST_F(MainLoopTest, Signal) { MainLoop loop;
Index: lldb/unittests/Host/MainLoopTest.cpp =================================================================== --- lldb/unittests/Host/MainLoopTest.cpp +++ lldb/unittests/Host/MainLoopTest.cpp @@ -108,6 +108,9 @@ } #ifdef LLVM_ON_UNIX +// NetBSD currently does not report slave pty EOF via kevent +// causing this test to hang forever. +#ifndef __NetBSD__ TEST_F(MainLoopTest, DetectsEOF) { PseudoTerminal term; ASSERT_TRUE(term.OpenFirstAvailableMaster(O_RDWR, nullptr, 0)); @@ -125,6 +128,7 @@ ASSERT_TRUE(loop.Run().Success()); ASSERT_EQ(1u, callback_count); } +#endif TEST_F(MainLoopTest, Signal) { MainLoop loop;
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits