This revision was automatically updated to reflect the committed changes. Closed by commit rG75e93ec72073: [lldb][TerminalTest] Fix assertion failure (authored by splhack).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D153091/new/ https://reviews.llvm.org/D153091 Files: lldb/unittests/Host/posix/TerminalTest.cpp Index: lldb/unittests/Host/posix/TerminalTest.cpp =================================================================== --- lldb/unittests/Host/posix/TerminalTest.cpp +++ lldb/unittests/Host/posix/TerminalTest.cpp @@ -6,9 +6,11 @@ // //===----------------------------------------------------------------------===// +#include "lldb/Host/FileSystem.h" #include "lldb/Host/PseudoTerminal.h" #include "lldb/Host/Terminal.h" #include "llvm/Testing/Support/Error.h" +#include "TestingSupport/SubsystemRAII.h" #include "gmock/gmock.h" #include "gtest/gtest.h" @@ -20,6 +22,7 @@ class TerminalTest : public ::testing::Test { protected: + SubsystemRAII<FileSystem> subsystems; PseudoTerminal m_pty; int m_fd; Terminal m_term;
Index: lldb/unittests/Host/posix/TerminalTest.cpp =================================================================== --- lldb/unittests/Host/posix/TerminalTest.cpp +++ lldb/unittests/Host/posix/TerminalTest.cpp @@ -6,9 +6,11 @@ // //===----------------------------------------------------------------------===// +#include "lldb/Host/FileSystem.h" #include "lldb/Host/PseudoTerminal.h" #include "lldb/Host/Terminal.h" #include "llvm/Testing/Support/Error.h" +#include "TestingSupport/SubsystemRAII.h" #include "gmock/gmock.h" #include "gtest/gtest.h" @@ -20,6 +22,7 @@ class TerminalTest : public ::testing::Test { protected: + SubsystemRAII<FileSystem> subsystems; PseudoTerminal m_pty; int m_fd; Terminal m_term;
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits