<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in usage-pre-post-flight</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>44d24971 - Add the capability of supplying the pre/post-flight functions to the test suite such that</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/lldb/examples/test/usage-pre-post-flight#44d24971</link>
        <description>Add the capability of supplying the pre/post-flight functions to the test suite such thatthe pre-flight code gets executed during setUp() after the debugger instance is availableand the post-flight code gets executed during tearDown() after the debugger instance hasdone killing the inferior and deleting all the target programs.Example:[11:32:48] johnny:/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight  functionalities/watchpoint/hello_watchpointconfig: {&apos;pre_flight&apos;: &lt;function pre_flight at 0x1098541b8&gt;, &apos;post_flight&apos;: &lt;function post_flight at 0x109854230&gt;}LLDB build dir: /Volumes/data/lldb/svn/ToT/build/DebugLLDB-139Path: /Volumes/data/lldb/svn/ToTURL: https://johnny@llvm.org/svn/llvm-project/lldb/trunkRepository Root: https://johnny@llvm.org/svn/llvm-projectRepository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8Revision: 154753Node Kind: directorySchedule: normalLast Changed Author: gclaytonLast Changed Rev: 154730Last Changed Date: 2012-04-13 18:42:46 -0700 (Fri, 13 Apr 2012)lldb.pre_flight: def pre_flight(test):    __import__(&quot;lldb&quot;)    __import__(&quot;lldbtest&quot;)    print &quot;\nRunning pre-flight function:&quot;    print &quot;for test case:&quot;, testlldb.post_flight: def post_flight(test):    __import__(&quot;lldb&quot;)    __import__(&quot;lldbtest&quot;)    print &quot;\nRunning post-flight function:&quot;    print &quot;for test case:&quot;, testSession logs for test failures/errors/unexpected successes will go into directory &apos;2012-04-16-11_34_08&apos;Command invoked: python ./dotest.py -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight functionalities/watchpoint/hello_watchpointcompilers=[&apos;clang&apos;]Configuration: arch=x86_64 compiler=clang----------------------------------------------------------------------Collected 2 tests1: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)   Test a simple sequence of watchpoint creation and watchpoint hit. ... Running pre-flight function:for test case: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)Running post-flight function:for test case: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)ok2: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)   Test a simple sequence of watchpoint creation and watchpoint hit. ... Running pre-flight function:for test case: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)Running post-flight function:for test case: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)ok----------------------------------------------------------------------Ran 2 tests in 1.584sOKllvm-svn: 154847

            List of files:
            /llvm-project-15.0.7/lldb/examples/test/usage-pre-post-flight</description>
        <pubDate>Mon, 16 Apr 2012 18:55:15 +0000</pubDate>
        <dc:creator>Johnny Chen &lt;johnny.chen@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
