summaryrefslogtreecommitdiff
path: root/test/twisted/README
blob: 40be6daee2ffd60e1756dc5d5b4834f115ea37b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
To run Twisted tests:

  make -C test/twisted check-twisted

To run an individual Twisted test:

  make -C test/twisted check-twisted \
        TWISTED_BASIC_TESTS= \
        TWISTED_SEPARATE_TESTS=dispatcher/create-at-startup.py

To run with debug information:

  make -C test/twisted check-twisted \
        TWISTED_BASIC_TESTS= \
        TWISTED_SEPARATE_TESTS=dispatcher/create-at-startup.py \
        CHECK_TWISTED_VERBOSE=1

To debug an individual test you can set one of the following env variable:

  * MISSIONCONTROL_TEST_VALGRIND : to run Mission Control inside valgrind. The
    report is added to tools/missioncontrol-testing.log.

  * MISSIONCONTROL_TEST_REFDBG : to run Mission Control inside refdbg. The
    report is written to tools/refdbg.log. You can change
    MISSIONCONTROL_WRAPPER to use an alternative refdbg and change
    REFDBG_OPTIONS to set your own parameters. Example:
        export MISSIONCONTROL_TEST_REFDBG=1
        export MISSIONCONTROL_WRAPPER="/path/to/refdbg"
        export REFDBG_OPTIONS="btnum=16"

  * MISSIONCONTROL_WRAPPER="nemiver" : to run Mission Control inside the
    graphical debugger nemiver.  You'll be able to set up breakpoints; then hit
    the "continue" button to launch Mission Control.