https://llvm.org/bugs/show_bug.cgi?id=23181
Ilia <ki.s...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ki.s...@gmail.com, | |lldb-dev@cs.uiuc.edu --- Comment #5 from Ilia <ki.s...@gmail.com> --- Also, the RegisterCommandsTestCase.test_convenience_registers_16bit_with_process_attach test leaves a zombie process. Prof: 1. Apply the following patch: ``` $ svn diff Index: test/unittest2/case.py =================================================================== --- test/unittest2/case.py (revision 234750) +++ test/unittest2/case.py (working copy) @@ -330,6 +330,9 @@ startTestRun() self._resultForDoCleanups = result + + import os + os.system("echo before '%s' = `ps x | grep Z | grep a.out | wc -l`" % self.__str__()) result.startTest(self) testMethod = getattr(self, self._testMethodName) @@ -396,6 +399,7 @@ stopTestRun = getattr(result, 'stopTestRun', None) if stopTestRun is not None: stopTestRun() + os.system("echo after '%s' = `ps x | grep Z | grep a.out | wc -l`" % self.__str__()) def doCleanups(self): """Execute all cleanup functions. Normally called for you after ``` 2. run all tests: ./dotest.py --executable $INSTALLDIR/bin/lldb 1>$INSTALLDIR/test_out.log 2>&1 3. analyze test_out.log: ``` before test_convenience_registers (TestRegisters.RegisterCommandsTestCase) = 452 .after test_convenience_registers (TestRegisters.RegisterCommandsTestCase) = 452 before test_convenience_registers_16bit_with_process_attach (TestRegisters.RegisterCommandsTestCase) = 452 .after test_convenience_registers_16bit_with_process_attach (TestRegisters.RegisterCommandsTestCase) = 453 before test_convenience_registers_with_process_attach (TestRegisters.RegisterCommandsTestCase) = 453 .after test_convenience_registers_with_process_attach (TestRegisters.RegisterCommandsTestCase) = 453 ``` -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev