example/examples-to-run.py
author Hajime Tazaki <tazaki@sfc.wide.ad.jp>
Tue, 07 Jan 2014 00:26:21 +0900
changeset 541 de7335a01743
parent 533 e745ad39c593
child 544 9952fad1036b
permissions -rw-r--r--
Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
361
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     1
#! /usr/bin/env python
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     2
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     3
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     4
# A list of C++ examples to run in order to ensure that they remain
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     5
# buildable and runnable over time.  Each tuple in the list contains
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     6
#
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     7
#     (example_name, do_run, do_valgrind_run).
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     8
#
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
     9
# See test.py for more information.
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    10
cpp_examples = [
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    11
    ("dce-tcp-simple", "True", "True"),
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    12
    ("dce-udp-simple", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    13
    ("dce-udp-perf", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    14
    ("dce-ccnd-simple", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    15
    ("dce-ccnd-short-stuff", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    16
#    ("dce-tap-udp-echo", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    17
#    ("dce-tap-ccnd", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    18
#    ("dce-tap-vlc", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    19
#    ("dce-bash-simple", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    20
#    ("dce-ccn-cache", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    21
    ("dce-linux-simple", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    22
    ("dce-linux", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    23
    ("dce-dccp", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    24
    ("dce-iperf", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    25
#    ("dce-ccnd-udp-2-nodes", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    26
    ("dce-ccnd-linear-multiple", "True", "True"), 
418
4359ef53a0af Bug 1449 - Use Linux kernel stack for ns-3 applications
Hajime Tazaki <tazaki@nict.go.jp>
parents: 368
diff changeset
    27
    ("dce-cradle-simple", "True", "True"),  
4359ef53a0af Bug 1449 - Use Linux kernel stack for ns-3 applications
Hajime Tazaki <tazaki@nict.go.jp>
parents: 368
diff changeset
    28
    ("dce-cradle-simple --rate=10kbps --proto=icmp", "True", "True"),
4359ef53a0af Bug 1449 - Use Linux kernel stack for ns-3 applications
Hajime Tazaki <tazaki@nict.go.jp>
parents: 368
diff changeset
    29
    ("dce-cradle-simple --rate=10kbps --proto=udp", "True", "True"),
4359ef53a0af Bug 1449 - Use Linux kernel stack for ns-3 applications
Hajime Tazaki <tazaki@nict.go.jp>
parents: 368
diff changeset
    30
    ("dce-cradle-simple --rate=10kbps --proto=tcp", "True", "True"),
4359ef53a0af Bug 1449 - Use Linux kernel stack for ns-3 applications
Hajime Tazaki <tazaki@nict.go.jp>
parents: 368
diff changeset
    31
    ("dce-cradle-simple --rate=10kbps --proto=dccp", "True", "True"),
4359ef53a0af Bug 1449 - Use Linux kernel stack for ns-3 applications
Hajime Tazaki <tazaki@nict.go.jp>
parents: 368
diff changeset
    32
    ("dce-cradle-simple --rate=10kbps --proto=dccp -ccid=3", "True", "True"),
491
3e2d2616d9b0 Bug 1711 - Allow DCE cradle to support ns-3 based bulk send application
Hajime Tazaki <tazaki@nict.go.jp>
parents: 475
diff changeset
    33
    ("dce-cradle-simple --bulk=1 --rate=10kbps --proto=tcp", "True", "True"),
3e2d2616d9b0 Bug 1711 - Allow DCE cradle to support ns-3 based bulk send application
Hajime Tazaki <tazaki@nict.go.jp>
parents: 475
diff changeset
    34
    ("dce-cradle-simple --bulk=1 --rate=10kbps --proto=dccp", "True", "True"),
3e2d2616d9b0 Bug 1711 - Allow DCE cradle to support ns-3 based bulk send application
Hajime Tazaki <tazaki@nict.go.jp>
parents: 475
diff changeset
    35
    ("dce-cradle-simple --bulk=1 --rate=10kbps --proto=dccp -ccid=3", "True", "True"),
541
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 533
diff changeset
    36
    ("dce-cradle-simple --rate=10kbps --proto=icmp6", "True", "True"),
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 533
diff changeset
    37
    ("dce-cradle-simple --rate=10kbps --proto=udp6", "True", "True"),
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 533
diff changeset
    38
    ("dce-cradle-simple --rate=10kbps --proto=tcp6", "True", "True"),
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 533
diff changeset
    39
    ("dce-cradle-simple --rate=10kbps --proto=dccp6", "True", "True"),
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 533
diff changeset
    40
    ("dce-cradle-simple --rate=10kbps --proto=dccp6 -ccid=3", "True", "True"),
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 533
diff changeset
    41
    ("dce-cradle-simple --bulk=1 --rate=10kbps --proto=tcp6", "True", "True"),
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 533
diff changeset
    42
    ("dce-cradle-simple --bulk=1 --rate=10kbps --proto=dccp6", "True", "True"),
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 533
diff changeset
    43
    ("dce-cradle-simple --bulk=1 --rate=10kbps --proto=dccp6 -ccid=3", "True", "True"),
361
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    44
    ("dce-tcp-ns3-nsc-comparison", "True", "True"), 
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    45
    ("dce-tcp-ns3-nsc-comparison --stack=dce", "True", "True"),
491
3e2d2616d9b0 Bug 1711 - Allow DCE cradle to support ns-3 based bulk send application
Hajime Tazaki <tazaki@nict.go.jp>
parents: 475
diff changeset
    46
    ("dce-tcp-ns3-nsc-comparison --bulk=1", "True", "True"), 
3e2d2616d9b0 Bug 1711 - Allow DCE cradle to support ns-3 based bulk send application
Hajime Tazaki <tazaki@nict.go.jp>
parents: 475
diff changeset
    47
    ("dce-tcp-ns3-nsc-comparison --stack=dce --bulk=1", "True", "True"),
3e2d2616d9b0 Bug 1711 - Allow DCE cradle to support ns-3 based bulk send application
Hajime Tazaki <tazaki@nict.go.jp>
parents: 475
diff changeset
    48
    ("dce-tcp-ns3-nsc-comparison --stack=dce-dccp", "True", "True"),
3e2d2616d9b0 Bug 1711 - Allow DCE cradle to support ns-3 based bulk send application
Hajime Tazaki <tazaki@nict.go.jp>
parents: 475
diff changeset
    49
    ("dce-tcp-ns3-nsc-comparison --stack=dce-dccp --bulk=1", "True", "True"),
361
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    50
    ("dce-ping-mt1 --kernel=1", "True", "True"),
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    51
    ("dce-mt2 --kernel=1", "True", "True"),
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    52
    ("dce-mt3 --kernel=1", "True", "True"),
368
8f34f27c2b4b fix wrong test suite name
Hajime Tazaki <tazaki@nict.go.jp>
parents: 366
diff changeset
    53
    ("dce-xfrm", "False", "False"),
473
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    54
#    ("dce-ltp", "True", "True"),
419
2913fcad95fe multipath TCP (v0.86) example added
Hajime Tazaki <tazaki@nict.go.jp>
parents: 418
diff changeset
    55
    ("dce-cradle-mptcp", "True", "True"),
2913fcad95fe multipath TCP (v0.86) example added
Hajime Tazaki <tazaki@nict.go.jp>
parents: 418
diff changeset
    56
    ("dce-iperf-mptcp", "True", "True"),
473
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    57
    ("dce-mptcp-handoff-v6", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    58
    ("dce-mptcp-handoff-v6 --errRate=0.05", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    59
    ("dce-mptcp-handoff-v6 --errRate=0.1", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    60
    ("dce-mptcp-handoff-v6 --errRate=0.2", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    61
    ("dce-mptcp-handoff-v6 --errRate=0.3", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    62
    ("dce-mptcp-handoff-v6 --errRate=0.4", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    63
    ("dce-mptcp-handoff-v6 --errRate=0.5", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    64
    ("dce-mptcp-handoff-v6 --errRate=0.8", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    65
    ("dce-mptcp-handoff-v4v6", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    66
    ("dce-mptcp-handoff-v4v6 --errRate=0.05", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    67
    ("dce-mptcp-handoff-v4v6 --errRate=0.1", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    68
    ("dce-mptcp-handoff-v4v6 --errRate=0.2", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    69
    ("dce-mptcp-handoff-v4v6 --errRate=0.3", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    70
    ("dce-mptcp-handoff-v4v6 --errRate=0.4", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    71
    ("dce-mptcp-handoff-v4v6 --errRate=0.5", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    72
    ("dce-mptcp-handoff-v4v6 --errRate=0.8", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    73
    ("dce-mptcp-handoff-v4v6 --v6Primary=1", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    74
    ("dce-mptcp-handoff-v4v6 --v6Primary=1 --errRate=0.05", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    75
    ("dce-mptcp-handoff-v4v6 --v6Primary=1 --errRate=0.1", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    76
    ("dce-mptcp-handoff-v4v6 --v6Primary=1 --errRate=0.2", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    77
    ("dce-mptcp-handoff-v4v6 --v6Primary=1 --errRate=0.3", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    78
    ("dce-mptcp-handoff-v4v6 --v6Primary=1 --errRate=0.4", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    79
    ("dce-mptcp-handoff-v4v6 --v6Primary=1 --errRate=0.5", "True", "True"),
297f41572c12 add several mptcp examples
Hajime Tazaki <tazaki@nict.go.jp>
parents: 419
diff changeset
    80
    ("dce-mptcp-handoff-v4v6 --v6Primary=1 --errRate=0.8", "True", "True"),
475
f4322345e490 make lte-mptcp example disabled temporary
Hajime Tazaki <tazaki@nict.go.jp>
parents: 473
diff changeset
    81
#    ("dce-mptcp-lte-wifi", "True", "True"),
515
98f8c21e069f Bug 1759 - dce httpd example stops working with big files (~1MB)
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 491
diff changeset
    82
    ("dce-httpd", "True", "True"),
533
e745ad39c593 New dce-wifi-ccnx example
Emilio Mancini <emilio.mancini@inria.fr>
parents: 515
diff changeset
    83
    ("dce-wifi-ccnx", "True", "True"),
361
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    84
]
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    85
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    86
# A list of Python examples to run in order to ensure that they remain
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    87
# runnable over time.  Each tuple in the list contains
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    88
#
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    89
#     (example_name, do_run).
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    90
#
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    91
# See test.py for more information.
e14ce94c520a add test.py support for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
diff changeset
    92
python_examples = []