A Discrete-Event Network Simulator
API
examples-to-run.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
3 
4 # A list of C++ examples to run in order to ensure that they remain
5 # buildable and runnable over time. Each tuple in the list contains
6 #
7 # (example_name, do_run, do_valgrind_run).
8 #
9 # See test.py for more information.
10 cpp_examples = [
11  ("adaptive-red-tests --testNumber=1", "True", "True"),
12  ("adaptive-red-tests --testNumber=2", "True", "True"),
13  ("adaptive-red-tests --testNumber=3", "True", "True"),
14  ("adaptive-red-tests --testNumber=4", "True", "True"),
15  ("adaptive-red-tests --testNumber=6", "True", "True"),
16  ("adaptive-red-tests --testNumber=7", "True", "True"),
17  ("adaptive-red-tests --testNumber=8", "True", "True"),
18  ("adaptive-red-tests --testNumber=9", "True", "True"),
19  ("adaptive-red-tests --testNumber=10", "True", "True"),
20  ("adaptive-red-tests --testNumber=11", "True", "True"),
21  ("adaptive-red-tests --testNumber=12", "True", "True"),
22  ("adaptive-red-tests --testNumber=13", "True", "True"),
23  ("adaptive-red-tests --testNumber=14", "True", "True"),
24  ("adaptive-red-tests --testNumber=15", "True", "True"),
25  ("codel-vs-pfifo-asymmetric --routerWanQueueDiscType=PfifoFast --simDuration=10", "True", "True"),
26  ("codel-vs-pfifo-asymmetric --routerWanQueueDiscType=CoDel --simDuration=10", "True", "False"),
27  ("codel-vs-pfifo-basic-test --queueDiscType=PfifoFast --simDuration=10", "True", "False"),
28  ("codel-vs-pfifo-basic-test --queueDiscType=CoDel --simDuration=10", "True", "False"),
29  ("pfifo-vs-red --queueDiscType=PfifoFast", "True", "True"),
30  ("pfifo-vs-red --queueDiscType=PfifoFast --modeBytes=1", "True", "False"),
31  ("pfifo-vs-red --queueDiscType=RED", "True", "True"),
32  ("pfifo-vs-red --queueDiscType=RED --modeBytes=1", "True", "False"),
33  ("red-tests --testNumber=1", "True", "True"),
34  ("red-tests --testNumber=3", "True", "False"),
35  ("red-tests --testNumber=4", "True", "False"),
36  ("red-tests --testNumber=5", "True", "False"),
37  ("red-vs-ared --queueDiscType=RED", "True", "True"),
38  ("red-vs-ared --queueDiscType=RED --modeBytes=true", "True", "False"),
39  ("red-vs-ared --queueDiscType=ARED", "True", "True"),
40  ("red-vs-ared --queueDiscType=ARED --modeBytes=true", "True", "False"),
41 ]
42 
43 # A list of Python examples to run in order to ensure that they remain
44 # runnable over time. Each tuple in the list contains
45 #
46 # (example_name, do_run).
47 #
48 # See test.py for more information.
49 python_examples = []