regression/tests/test-simple-global-routing.py
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 17 Apr 2008 15:40:25 -0700
changeset 2971 75780f899be3
parent 2863 0bcad16fc46b
child 3872 8e757a83fb36
permissions -rw-r--r--
output the initial value of the attributes
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")