author | Tom Henderson <tomh@tomh.org> |
Mon, 28 Sep 2015 20:27:25 -0700 | |
changeset 11676 | 05ea1489e509 |
parent 9696 | 4b977376f383 |
permissions | -rw-r--r-- |
6886
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
1 |
#! /usr/bin/env python |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
2 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
3 |
|
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
4 |
# A list of C++ examples to run in order to ensure that they remain |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
5 |
# buildable and runnable over time. Each tuple in the list contains |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
6 |
# |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
7 |
# (example_name, do_run, do_valgrind_run). |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
8 |
# |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
9 |
# See test.py for more information. |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
10 |
cpp_examples = [ |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
11 |
("star", "True", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
12 |
("tcp-large-transfer", "True", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
13 |
("tcp-nsc-lfn", "NSC_ENABLED == True", "False"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
14 |
("tcp-nsc-zoo", "NSC_ENABLED == True", "False"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
15 |
("tcp-star-server", "True", "True"), |
9696 | 16 |
("tcp-variants-comparison", "True", "True"), |
6886
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
17 |
] |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
18 |
|
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
19 |
# A list of Python examples to run in order to ensure that they remain |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
20 |
# runnable over time. Each tuple in the list contains |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
21 |
# |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
22 |
# (example_name, do_run). |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
23 |
# |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
24 |
# See test.py for more information. |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
25 |
python_examples = [] |