regression/tests/test-global-routing-slash32.py
author Craig Dowell <craigdo@ee.washington.edu>
Thu, 11 Dec 2008 15:29:19 -0800
changeset 4013 c032743d087c
child 4114 a6c5ccfa3451
permissions -rw-r--r--
New examples, build and test tutorial examples
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4013
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     1
#! /usr/bin/env python
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     2
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     3
"""Generic trace-comparison-type regression test."""
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     4
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     5
import os
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     6
import shutil
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     7
import tracediff
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     8
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     9
def run(verbose, generate):
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    10
    """Execute a test."""
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    11
c032743d087c New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    12
    return tracediff.run_test(verbose, generate, "global-routing-slash32")