121 lines
3.8 KiB
Python
Raw Normal View History

Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
"""Disassemble lldb's Driver::MainLoop() functions comparing Xcode 4.1 vs. 4.2's gdb."""
from __future__ import print_function
import os
import sys
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbbench import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import configuration
from lldbsuite.test import lldbutil
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
2012-04-23 17:54:40 +00:00
class XCode41Vs42GDBDisassembly(BenchBase):
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
mydir = TestBase.compute_mydir(__file__)
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
def setUp(self):
BenchBase.setUp(self)
2012-04-23 17:54:40 +00:00
self.gdb_41_exe = '/Xcode41/usr/bin/gdb'
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
self.gdb_42_exe = '/Developer/usr/bin/gdb'
self.exe = lldbtest_config.lldbExec
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
self.function = 'Driver::MainLoop()'
self.gdb_41_avg = None
self.gdb_42_avg = None
self.count = 5
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
@benchmarks_test
Merge dwarf and dsym tests Currently most of the test files have a separate dwarf and a separate dsym test with almost identical content (only the build step is different). With adding dwo symbol file handling to the test suit it would increase this to a 3-way duplication. The purpose of this change is to eliminate this redundancy with generating 2 test case (one dwarf and one dsym) for each test function specified (dwo handling will be added at a later commit). Main design goals: * There should be no boilerplate code in each test file to support the multiple debug info in most of the tests (custom scenarios are acceptable in special cases) so adding a new test case is easier and we can't miss one of the debug info type. * In case of a test failure, the debug symbols used during the test run have to be cleanly visible from the output of dotest.py to make debugging easier both from build bot logs and from local test runs * Each test case should have a unique, fully qualified name so we can run exactly 1 test with "-f <test-case>.<test-function>" syntax * Test output should be grouped based on test files the same way as it happens now (displaying dwarf/dsym results separately isn't preferable) Proposed solution (main logic in lldbtest.py, rest of them are test cases fixed up for the new style): * Have only 1 test fuction in the test files what will run for all debug info separately and this test function should call just "self.build(...)" to build an inferior with the right debug info * When a class is created by python (the class object, not the class instance), we will generate a new test method for each debug info format in the test class with the name "<test-function>_<debug-info>" and remove the original test method. This way unittest2 see multiple test methods (1 for each debug info, pretty much as of now) and will handle the test selection and the failure reporting correctly (the debug info will be visible from the end of the test name) * Add new annotation @no_debug_info_test to disable the generation of multiple tests for each debug info format when the test don't have an inferior Differential revision: http://reviews.llvm.org/D13028 llvm-svn: 248883
2015-09-30 10:12:40 +00:00
@no_debug_info_test
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr22274: need a pexpect replacement for windows")
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
def test_run_41_then_42(self):
"""Test disassembly on a large function with 4.1 vs. 4.2's gdb."""
print()
self.run_gdb_disassembly(
self.gdb_41_exe,
self.exe,
self.function,
self.count)
print("4.1 gdb benchmark:", self.stopwatch)
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
self.gdb_41_avg = self.stopwatch.avg()
self.run_gdb_disassembly(
self.gdb_42_exe,
self.exe,
self.function,
self.count)
print("4.2 gdb benchmark:", self.stopwatch)
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
self.gdb_42_avg = self.stopwatch.avg()
print("gdb_42_avg/gdb_41_avg: %f" %
(self.gdb_42_avg / self.gdb_41_avg))
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
@benchmarks_test
Merge dwarf and dsym tests Currently most of the test files have a separate dwarf and a separate dsym test with almost identical content (only the build step is different). With adding dwo symbol file handling to the test suit it would increase this to a 3-way duplication. The purpose of this change is to eliminate this redundancy with generating 2 test case (one dwarf and one dsym) for each test function specified (dwo handling will be added at a later commit). Main design goals: * There should be no boilerplate code in each test file to support the multiple debug info in most of the tests (custom scenarios are acceptable in special cases) so adding a new test case is easier and we can't miss one of the debug info type. * In case of a test failure, the debug symbols used during the test run have to be cleanly visible from the output of dotest.py to make debugging easier both from build bot logs and from local test runs * Each test case should have a unique, fully qualified name so we can run exactly 1 test with "-f <test-case>.<test-function>" syntax * Test output should be grouped based on test files the same way as it happens now (displaying dwarf/dsym results separately isn't preferable) Proposed solution (main logic in lldbtest.py, rest of them are test cases fixed up for the new style): * Have only 1 test fuction in the test files what will run for all debug info separately and this test function should call just "self.build(...)" to build an inferior with the right debug info * When a class is created by python (the class object, not the class instance), we will generate a new test method for each debug info format in the test class with the name "<test-function>_<debug-info>" and remove the original test method. This way unittest2 see multiple test methods (1 for each debug info, pretty much as of now) and will handle the test selection and the failure reporting correctly (the debug info will be visible from the end of the test name) * Add new annotation @no_debug_info_test to disable the generation of multiple tests for each debug info format when the test don't have an inferior Differential revision: http://reviews.llvm.org/D13028 llvm-svn: 248883
2015-09-30 10:12:40 +00:00
@no_debug_info_test
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr22274: need a pexpect replacement for windows")
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
def test_run_42_then_41(self):
"""Test disassembly on a large function with 4.1 vs. 4.2's gdb."""
print()
self.run_gdb_disassembly(
self.gdb_42_exe,
self.exe,
self.function,
self.count)
print("4.2 gdb benchmark:", self.stopwatch)
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
self.gdb_42_avg = self.stopwatch.avg()
self.run_gdb_disassembly(
self.gdb_41_exe,
self.exe,
self.function,
self.count)
print("4.1 gdb benchmark:", self.stopwatch)
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
self.gdb_41_avg = self.stopwatch.avg()
print("gdb_42_avg/gdb_41_avg: %f" %
(self.gdb_42_avg / self.gdb_41_avg))
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
def run_gdb_disassembly(self, gdb_exe_path, exe, function, count):
import pexpect
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
# Set self.child_prompt, which is "(gdb) ".
self.child_prompt = '(gdb) '
prompt = self.child_prompt
# So that the child gets torn down after the test.
self.child = pexpect.spawn('%s --nx %s' % (gdb_exe_path, exe))
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
child = self.child
# Turn on logging for what the child sends back.
if self.TraceOn():
child.logfile_read = sys.stdout
child.expect_exact(prompt)
child.sendline('break %s' % function)
child.expect_exact(prompt)
child.sendline('run')
child.expect_exact(prompt)
# Reset the stopwatch now.
self.stopwatch.reset()
for i in range(count):
with self.stopwatch:
# Disassemble the function.
child.sendline('disassemble')
child.expect_exact(prompt)
child.sendline('next')
child.expect_exact(prompt)
child.sendline('quit')
child.expect_exact('The program is running. Exit anyway?')
child.sendline('y')
try:
self.child.expect(pexpect.EOF)
except:
pass
if self.TraceOn():
print("gdb disassembly benchmark:", str(self.stopwatch))
Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
2011-08-09 00:56:07 +00:00
self.child = None