~ubuntu-branches/ubuntu/precise/telepathy-mission-control-5/precise

« back to all changes in this revision

Viewing changes to test/twisted/README

Tags: upstream-5.5.0
ImportĀ upstreamĀ versionĀ 5.5.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
To run an individual Twisted test:
6
6
 
7
 
  make -C test/twisted check-twisted TWISTED_TESTS=test-basic.py
8
 
 
9
 
or:
10
 
 
11
 
  cd test/twisted
12
 
  sh tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf \
13
 
        -- python test-basic.py
 
7
  make -C test/twisted check-twisted \
 
8
        TWISTED_BASIC_TESTS= \
 
9
        TWISTED_SEPARATE_TESTS=dispatcher/create-at-startup.py
14
10
 
15
11
To run with debug information:
16
12
 
17
 
  make -C test/twisted check-twisted TWISTED_TESTS=test-basic.py \
 
13
  make -C test/twisted check-twisted \
 
14
        TWISTED_BASIC_TESTS= \
 
15
        TWISTED_SEPARATE_TESTS=dispatcher/create-at-startup.py \
18
16
        CHECK_TWISTED_VERBOSE=1
19
17
 
20
 
or:
21
 
 
22
 
  cd test/twisted
23
 
  sh tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf \
24
 
        -- python test-basic.py -v
25
 
 
26
 
 
27
18
To debug an individual test you can set one of the following env variable:
28
19
 
29
20
  * MISSIONCONTROL_TEST_VALGRIND : to run Mission Control inside valgrind. The