[Lldb-commits] [PATCH] D87637: [lldb/test] Enable faulthandler in dotest
Jordan Rupprecht via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 13 17:06:32 PST 2020
rupprecht added a comment.
At head:
$ ninja check-lldb-api-commands-apropos-basic
[2/3] Running lit suite /home/rupprecht/src/llvm-project/lldb/test/API/commands/apropos/basic
FAIL: lldb-api :: commands/apropos/basic/TestApropos.py (1 of 1)
******************** TEST 'lldb-api :: commands/apropos/basic/TestApropos.py' FAILED ********************
Script:
--
/usr/bin/python3.8 /home/rupprecht/src/llvm-project/lldb/test/API/dotest.py <...> -p TestApropos.py
--
Exit Code: -6
Command Output (stdout):
--
lldb version 12.0.0 (https://github.com/llvm/llvm-project.git revision 703ef17e7a0a0f51e1d000bb1f71ad437a9933e4)
clang revision 703ef17e7a0a0f51e1d000bb1f71ad437a9933e4
llvm revision 703ef17e7a0a0f51e1d000bb1f71ad437a9933e4
--
Command Output (stderr):
--
Fatal Python error: Aborted
Current thread 0x00007f1541aea740 (most recent call first):
File "/home/rupprecht/src/llvm-build/dev/lib/python2.7/dist-packages/lldb/__init__.py", line 3352 in HandleCommand
File "/home/rupprecht/src/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2129 in runCmd
File "/home/rupprecht/src/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1949 in setUp
File "/home/rupprecht/src/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 377 in run
File "/home/rupprecht/src/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 458 in __call__
File "/home/rupprecht/src/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 117 in _wrapped_run
File "/home/rupprecht/src/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 115 in _wrapped_run
File "/home/rupprecht/src/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 85 in run
File "/home/rupprecht/src/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/suite.py", line 66 in __call__
File "/home/rupprecht/src/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/runner.py", line 165 in run
File "/home/rupprecht/src/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 1013 in run_suite
File "/home/rupprecht/src/llvm-project/lldb/test/API/dotest.py", line 7 in <module>
--
********************
********************
Failed Tests (1):
lldb-api :: commands/apropos/basic/TestApropos.py
With `registerFaulthandler()` commented out:
$ ninja check-lldb-api-commands-apropos-basic
[2/3] Running lit suite /home/rupprecht/src/llvm-project/lldb/test/API/commands/apropos/basic
FAIL: lldb-api :: commands/apropos/basic/TestApropos.py (1 of 1)
******************** TEST 'lldb-api :: commands/apropos/basic/TestApropos.py' FAILED ********************
Script:
--
/usr/bin/python3.8 /home/rupprecht/src/llvm-project/lldb/test/API/dotest.py <...> -p TestApropos.py
--
Exit Code: -6
Command Output (stdout):
--
lldb version 12.0.0 (https://github.com/llvm/llvm-project.git revision 703ef17e7a0a0f51e1d000bb1f71ad437a9933e4)
clang revision 703ef17e7a0a0f51e1d000bb1f71ad437a9933e4
llvm revision 703ef17e7a0a0f51e1d000bb1f71ad437a9933e4
--
********************
********************
Failed Tests (1):
lldb-api :: commands/apropos/basic/TestApropos.py
So, it doesn't seem like the LLVM signal handler is being enabled, at least not by default -- maybe it has something to do with my cmake config.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87637/new/
https://reviews.llvm.org/D87637
More information about the lldb-commits
mailing list