Skip to content
Permalink
Browse files

[lldb] [unittest] Reenable MainLoopTest.DetectsEOF on NetBSD

The underlying issue is already fixed in the NetBSD kernel for some
time, so we can finally reenable the test.
  • Loading branch information
mgorny committed Nov 18, 2019
1 parent 9918312 commit d82dd6ac9a8500448ebfdc0c77e362e496b80e2f
Showing with 0 additions and 4 deletions.
  1. +0 −4 lldb/unittests/Host/MainLoopTest.cpp
@@ -102,9 +102,6 @@ TEST_F(MainLoopTest, TerminatesImmediately) {
}

#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;
@@ -123,7 +120,6 @@ TEST_F(MainLoopTest, DetectsEOF) {
ASSERT_TRUE(loop.Run().Success());
ASSERT_EQ(1u, callback_count);
}
#endif

TEST_F(MainLoopTest, Signal) {
MainLoop loop;

0 comments on commit d82dd6a

Please sign in to comment.
You can’t perform that action at this time.