regression/tests/test-simple-global-routing.py
author craigdo@craig-dowells-imac.local
Thu, 28 Aug 2008 15:06:49 -0700
changeset 3564 92ef80f0352e
parent 2863 0bcad16fc46b
child 3872 8e757a83fb36
permissions -rw-r--r--
don't assume posix compatibility means posix clocks
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2861
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     1
#! /usr/bin/env python
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     2
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     3
"""Generic trace-comparison-type regression test."""
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     4
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     5
import os
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     6
import shutil
2863
0bcad16fc46b address some list comments
Craig Dowell <craigdo@ee.washington.edu>
parents: 2861
diff changeset
     7
import tracediff
2861
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
     8
2863
0bcad16fc46b address some list comments
Craig Dowell <craigdo@ee.washington.edu>
parents: 2861
diff changeset
     9
def run(verbose, generate, refDirName):
2861
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    10
    """Execute a test."""
18930dcd33e0 test test
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff changeset
    11
2863
0bcad16fc46b address some list comments
Craig Dowell <craigdo@ee.washington.edu>
parents: 2861
diff changeset
    12
    return tracediff.run_test(verbose, generate, refDirName,
0bcad16fc46b address some list comments
Craig Dowell <craigdo@ee.washington.edu>
parents: 2861
diff changeset
    13
        "simple-global-routing")