Skip to content

Commit 2c6fe41

Browse files
authored
Merge pull request #271 from The-OpenROAD-Project/share_helpers
Share helpers
2 parents d2594cf + d287305 commit 2c6fe41

File tree

17 files changed

+39222
-378
lines changed

17 files changed

+39222
-378
lines changed

src/ICeWall/test/helpers.tcl

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/ICeWall/test/helpers.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../test/helpers.tcl

src/OpenPhySyn/test/constprop3.defok

Lines changed: 39130 additions & 13 deletions
Large diffs are not rendered by default.

src/OpenPhySyn/test/constprop3.ok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ No. Instances: 17821
1515
Invoking constant_propagation transform
1616
Finished constant_propagation transform ( 96 )
1717
No. Instances: 17773
18-
Differences found at line 1.
18+
No differences found.

src/OpenPhySyn/test/helpers.tcl

Lines changed: 0 additions & 50 deletions
This file was deleted.

src/OpenPhySyn/test/helpers.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../test/helpers.tcl

src/OpenPhySyn/test/save_defok

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/bin/sh
2+
# The next line is executed by /bin/sh, but not Tcl \
3+
exec tclsh $0 ${1+"$@"}
4+
5+
# Copyright (c) 2019, Parallax Software, Inc.
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
19+
20+
# Usage: save_defok test1 [test2...] | failures
21+
# Where test1 is all or the name of a tcl script in /test
22+
# Wildcard matching with '*' and '?' in test names is supported.
23+
24+
# Directory containing tests.
25+
set test_dir [file dirname [file normalize [info script]]]
26+
set openroad_dir [file dirname [file dirname [file dirname $test_dir]]]
27+
28+
source [file join $openroad_dir "test" "regression.tcl"]
29+
source [file join $test_dir "regression_tests.tcl"]
30+
31+
save_defok_main
32+
33+
# Local Variables:
34+
# mode:tcl
35+
# End:

src/dbSta/test/helpers.tcl

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/dbSta/test/helpers.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../test/helpers.tcl

src/init_fp/test/helpers.tcl

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)