src/core/test/examples-to-run.py
author Mitch Watrous <watrous@u.washington.edu>
Fri, 15 Apr 2011 13:03:02 -0700
changeset 7028 3963d3678649
parent 7025 32212c736ab4
child 7164 a694e9abebb4
permissions -rw-r--r--
Make examples that were in samples directory run
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7025
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     1
#! /usr/bin/env python
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     2
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     3
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     4
# A list of C++ examples to run in order to ensure that they remain
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     5
# buildable and runnable over time.  Each tuple in the list contains
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     6
#
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     7
#     (example_name, do_run, do_valgrind_run).
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     8
#
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
     9
# See test.py for more information.
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    10
cpp_examples = [
7028
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    11
    ("main-attribute-value", "True", "True"),
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    12
    ("main-callback", "True", "True"),
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    13
    ("sample-simulator", "True", "True"),
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    14
    ("main-ptr", "True", "True"),
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    15
    ("main-random-variable", "True", "True"),
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    16
    ("sample-random-variable", "True", "True"),
7025
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    17
]
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    18
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    19
# A list of Python examples to run in order to ensure that they remain
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    20
# runnable over time.  Each tuple in the list contains
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    21
#
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    22
#     (example_name, do_run).
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    23
#
32212c736ab4 Move examples out of samples directory and remove it
Mitch Watrous <watrous@u.washington.edu>
parents:
diff changeset
    24
# See test.py for more information.
7028
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    25
python_examples = [
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    26
    ("sample-simulator.py", "True"),
3963d3678649 Make examples that were in samples directory run
Mitch Watrous <watrous@u.washington.edu>
parents: 7025
diff changeset
    27
]