Skip to content

Commit cc28ef3

Browse files
committed
test: update test_make_issue
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 668ae32 commit cc28ef3

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

flow/test/test_make_issue.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,22 @@ set -ue -o pipefail
66
# has some interesting "make issue" features to test,
77
# such as ADDITIONAL_FILES
88

9-
make DESIGN_CONFIG=designs/asap7/mock-array/Element/config.mk floorplan
10-
make ISSUE_TAG=tag DESIGN_CONFIG=designs/asap7/mock-array/Element/config.mk io_placement_random_issue
9+
TARGET=3_2_place_iop
10+
ISSUE_TARGET=io_placement
11+
12+
make DESIGN_CONFIG=designs/asap7/mock-array/Element/config.mk $TARGET
13+
make ISSUE_TAG=tag DESIGN_CONFIG=designs/asap7/mock-array/Element/config.mk ${ISSUE_TARGET}_issue
1114
# io placement needs ADDITIONAL_FILES to work, so not a random test
12-
test_archive=io_placement_random_tag.tar.gz
15+
test_archive=${ISSUE_TARGET}_tag.tar.gz
1316
ls -l $test_archive
1417
echo "Testing $test_archive"
18+
runme=$(realpath run-me-mock-array_Element-asap7-base.sh)
1519
. ../env.sh
1620
rm -rf results/make-issue/
1721
mkdir -p results/make-issue/
1822
cd results/make-issue/
1923
tar --strip-components=1 -xzf ../../$test_archive
20-
runme=run-me-mock-array_Element-asap7-base.sh
2124
sed -i 's/openroad -no_init/openroad -exit -no_init/g' $runme
22-
./$runme
25+
$runme
2326
# check for basic syntax errors
2427
openroad -exit -no_init vars-mock-array_Element-asap7-base.tcl

0 commit comments

Comments
 (0)