[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / lldb / examples / test / usage-pre-post-flight
blobda68607242581a66771821c108f45fb29a8eaac0
2 # The following examples first show a bad pre/post flight config file followed by a good pre/post config file.
5 [11:31:19] johnny:/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight.bad  functionalities/watchpoint/hello_watchpoint
6 config: {'pre_flight': 'I am not callable', 'post_flight': <function post_flight at 0x1071871b8>}
7 fatal error: pre_flight is not callable, exiting.
8 [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_watchpoint
9 config: {'pre_flight': <function pre_flight at 0x1098541b8>, 'post_flight': <function post_flight at 0x109854230>}
10 LLDB build dir: /Volumes/data/lldb/svn/ToT/build/Debug
11 LLDB-139
12 Path: /Volumes/data/lldb/svn/ToT
13 URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk
14 Repository Root: https://johnny@llvm.org/svn/llvm-project
15 Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
16 Revision: 154753
17 Node Kind: directory
18 Schedule: normal
19 Last Changed Author: gclayton
20 Last Changed Rev: 154730
21 Last Changed Date: 2012-04-13 18:42:46 -0700 (Fri, 13 Apr 2012)
24 lldb.pre_flight: def pre_flight(test):
25     __import__("lldb")
26     __import__("lldbtest")
27     print "\nRunning pre-flight function:"
28     print "for test case:", test
30 lldb.post_flight: def post_flight(test):
31     __import__("lldb")
32     __import__("lldbtest")
33     print "\nRunning post-flight function:"
34     print "for test case:", test
37 Session logs for test failures/errors/unexpected successes will go into directory '2012-04-16-11_34_08'
38 Command invoked: python ./dotest.py -A x86_64 -v -c ../examples/test/.lldb-pre-post-flight functionalities/watchpoint/hello_watchpoint
39 compilers=['clang']
41 Configuration: arch=x86_64 compiler=clang
42 ----------------------------------------------------------------------
43 Collected 2 tests
45 1: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)
46    Test a simple sequence of watchpoint creation and watchpoint hit. ... 
47 Running pre-flight function:
48 for test case: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)
50 Running post-flight function:
51 for test case: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)
53 2: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)
54    Test a simple sequence of watchpoint creation and watchpoint hit. ... 
55 Running pre-flight function:
56 for test case: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)
58 Running post-flight function:
59 for test case: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase)
62 ----------------------------------------------------------------------
63 Ran 2 tests in 1.584s