Skip to content

Commit b9498cf

Browse files
committed
test: make issue, add vars-*.tcl smoketest
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent e499c5b commit b9498cf

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

flow/test/test_make_issue.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
# make issue smoketest
33
set -ue -o pipefail
44

5-
testname=Element
5+
# Pick a design that builds quickly and has
6+
# has some interesting "make issue" features to test,
7+
# such as ADDITIONAL_FILES
68

7-
make DESIGN_CONFIG=designs/asap7/mock-array/$testname/config.mk floorplan
8-
make ISSUE_TAG=tag DESIGN_CONFIG=designs/asap7/mock-array/$testname/config.mk io_placement_random_issue
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
11+
# io placement needs ADDITIONAL_FILES to work, so not a random test
912
test_archive=io_placement_random_tag.tar.gz
1013
ls -l $test_archive
1114
echo "Testing $test_archive"
@@ -14,6 +17,8 @@ rm -rf results/make-issue/
1417
mkdir -p results/make-issue/
1518
cd results/make-issue/
1619
tar --strip-components=1 -xzf ../../$test_archive
17-
runme=run-me-mock-array_$testname-asap7-base.sh
20+
runme=run-me-mock-array_Element-asap7-base.sh
1821
sed -i 's/openroad -no_init/openroad -exit -no_init/g' $runme
1922
./$runme
23+
# check for basic syntax errors
24+
openroad -exit -no_init vars-mock-array_Element-asap7-base.tcl

0 commit comments

Comments
 (0)