author | Tom Henderson <tomh@tomh.org> |
Thu, 01 Oct 2015 11:07:22 -0700 | |
changeset 11677 | 1e2add816314 |
parent 10118 | 848770c90669 |
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 |
("first", "True", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
12 |
("hello-simulator", "True", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
13 |
("second", "True", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
14 |
("third", "True", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
15 |
("fourth", "True", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
16 |
("fifth", "True", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
17 |
("sixth", "True", "True"), |
10118
848770c90669
data collection extensions for stats module
Tom Henderson <tomh@tomh.org>
parents:
6886
diff
changeset
|
18 |
("seventh", "True", "True"), |
6886
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
19 |
] |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
20 |
|
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
21 |
# 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
|
22 |
# 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
|
23 |
# |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
24 |
# (example_name, do_run). |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
25 |
# |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
26 |
# 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
|
27 |
python_examples = [ |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
28 |
("first.py", "True"), |
690b7a78bbd0
Make test.py handle examples-to-run.py files
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
29 |
] |