author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Wed, 10 Dec 2008 01:34:04 -0800 | |
changeset 4002 | a12900ea255e |
parent 3872 | 8e757a83fb36 |
child 4114 | a6c5ccfa3451 |
permissions | -rw-r--r-- |
3560
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
1 |
#! /usr/bin/env python |
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
2 |
|
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
3 |
"""Generic trace-comparison-type regression test.""" |
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
4 |
|
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
5 |
import os |
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
6 |
import shutil |
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
7 |
import tracediff |
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
8 |
|
3872
8e757a83fb36
Add a --with-regression-traces configure option, to allow using externally supplied regression traces instead of fetching them from the network.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3560
diff
changeset
|
9 |
def run(verbose, generate): |
3560
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
10 |
"""Execute a test.""" |
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
11 |
|
3872
8e757a83fb36
Add a --with-regression-traces configure option, to allow using externally supplied regression traces instead of fetching them from the network.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3560
diff
changeset
|
12 |
return tracediff.run_test(verbose, generate, "realtime-udp-echo") |