[Lldb-commits] TestRegisters.py is broken - most likely due r221402 test/lldbtest.py change

Oleksiy Vyalov ovyalov at google.com
Fri Nov 7 13:35:59 PST 2014


Hello,

test/functionalities/register/TestRegisters.py is failing for me on Ubunto
& OSX:

ovyalov at ovyalov-linux:~/workspace/CppTest$ /usr/bin/python
/usr/local/home/ovyalov/projects/lldb/dev/lldb/test/dotest.py -q
--arch=x86_64 --executable
/usr/local/home/ovyalov/projects/lldb/dev/build_debug/bin/lldb -s
/usr/local/google/home/ovyalov/projects/lldb/dev/build_debug/lldb-test-traces
-u CXXFLAGS -u CFLAGS -C /usr/bin/clang -p TestRegisters.py
/usr/local/home/ovyalov/projects/lldb/dev/lldb/test/functionalities/register
PASS: LLDB (/usr/bin/clang-x86_64) :: test_convenience_registers
(TestRegisters.RegisterCommandsTestCase)
FAIL: LLDB (/usr/bin/clang-x86_64) ::
test_convenience_registers_16bit_with_process_attach
(TestRegisters.RegisterCommandsTestCase)
There is a running process, detach from it and attach?: [Y/n] Y
FAIL: LLDB (/usr/bin/clang-x86_64) ::
test_convenience_registers_with_process_attach
(TestRegisters.RegisterCommandsTestCase)
PASS: LLDB (/usr/bin/clang-x86_64) :: test_fp_register_write
(TestRegisters.RegisterCommandsTestCase)
FAIL: LLDB (/usr/bin/clang-x86_64) :: test_register_commands
(TestRegisters.RegisterCommandsTestCase)
PASS: LLDB (/usr/bin/clang-x86_64) :: test_register_expressions
(TestRegisters.RegisterCommandsTestCase)
======================================================================
ERROR: test_convenience_registers_16bit_with_process_attach
(TestRegisters.RegisterCommandsTestCase)
   Test convenience registers after a 'process attach'.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/home/ovyalov/projects/lldb/dev/lldb/test/lldbtest.py",
line 1658, in tearDown
    Base.tearDown(self)
  File "/usr/local/home/ovyalov/projects/lldb/dev/lldb/test/lldbtest.py",
line 1042, in tearDown
    hook(self)
TypeError: cleanupSubprocesses() takes exactly 1 argument (2 given)
Config=x86_64-/usr/bin/clang
======================================================================
ERROR: test_convenience_registers_with_process_attach
(TestRegisters.RegisterCommandsTestCase)
   Test convenience registers after a 'process attach'.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/home/ovyalov/projects/lldb/dev/lldb/test/lldbtest.py",
line 1658, in tearDown
    Base.tearDown(self)
  File "/usr/local/home/ovyalov/projects/lldb/dev/lldb/test/lldbtest.py",
line 1042, in tearDown
    hook(self)
TypeError: cleanupSubprocesses() takes exactly 1 argument (2 given)
Config=x86_64-/usr/bin/clang
======================================================================
ERROR: test_register_commands (TestRegisters.RegisterCommandsTestCase)
   Test commands related to registers, in particular vector registers.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/home/ovyalov/projects/lldb/dev/lldb/test/lldbtest.py",
line 1658, in tearDown
    Base.tearDown(self)
  File "/usr/local/home/ovyalov/projects/lldb/dev/lldb/test/lldbtest.py",
line 1042, in tearDown
    hook(self)
TypeError: remove_log() takes exactly 1 argument (2 given)
Config=x86_64-/usr/bin/clang
----------------------------------------------------------------------
Ran 6 tests in 5.050s

As I can see it might be due test/lldbtest.py modification at r221402.

Thank you.

-- 
Oleksiy Vyalov | Software Engineer | ovyalov at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141107/53ca7ec2/attachment.html>


More information about the lldb-commits mailing list