[Lldb-commits] [PATCH] D110962: [lldb] Add unit tests for Terminal API
David Zarzycki via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 5 04:05:52 PDT 2021
davezarzycki added a comment.
This is failing on my Fedora 34 (x86-64) box. Is this expected?
FAIL: lldb-unit :: Host/./HostTests/TerminalTest.SaveRestoreRAII (78548 of 79402)
******************** TEST 'lldb-unit :: Host/./HostTests/TerminalTest.SaveRestoreRAII' FAILED ********************
Script:
--
/tmp/_update_lc/r/tools/lldb/unittests/Host/./HostTests --gtest_filter=TerminalTest.SaveRestoreRAII
--
Note: Google Test filter = TerminalTest.SaveRestoreRAII
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TerminalTest
[ RUN ] TerminalTest.SaveRestoreRAII
/home/dave/ro_s/lp/lldb/unittests/Host/posix/TerminalTest.cpp:93: Failure
Expected equality of these values:
tcsetattr(m_pty.GetPrimaryFileDescriptor(), 0, &terminfo)
Which is: -1
0
[ FAILED ] TerminalTest.SaveRestoreRAII (4 ms)
[----------] 1 test from TerminalTest (4 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (4 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TerminalTest.SaveRestoreRAII
1 FAILED TEST
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: lldb-unit :: Host/./HostTests/TerminalTest.SaveRestore (78561 of 79402)
******************** TEST 'lldb-unit :: Host/./HostTests/TerminalTest.SaveRestore' FAILED ********************
Script:
--
/tmp/_update_lc/r/tools/lldb/unittests/Host/./HostTests --gtest_filter=TerminalTest.SaveRestore
--
Note: Google Test filter = TerminalTest.SaveRestore
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TerminalTest
[ RUN ] TerminalTest.SaveRestore
/home/dave/ro_s/lp/lldb/unittests/Host/posix/TerminalTest.cpp:121: Failure
Expected equality of these values:
tcsetattr(m_pty.GetPrimaryFileDescriptor(), 0, &terminfo)
Which is: -1
0
[ FAILED ] TerminalTest.SaveRestore (4 ms)
[----------] 1 test from TerminalTest (4 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (4 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TerminalTest.SaveRestore
1 FAILED TEST
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110962/new/
https://reviews.llvm.org/D110962
More information about the lldb-commits
mailing list