Skip to content

Commit 7543c4e

Browse files
committed
tests: extend some tests with querying versions of the tools
1 parent f235036 commit 7543c4e

File tree

5 files changed

+44
-0
lines changed

5 files changed

+44
-0
lines changed

test/icestorm.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,26 @@ echo "CC: $CC"
88
echo "CXX: $CXX"
99

1010
./smoke-tests/icestorm.sh
11+
12+
for t in \
13+
icebox_asc2hlc \
14+
icebox_chipdb \
15+
icebox_colbuf \
16+
icebox_diff \
17+
icebox_explain \
18+
icebox_hlc2asc \
19+
icebox_html \
20+
icebox_maps \
21+
icebox_stat \
22+
icebox_vlog \
23+
icebram \
24+
icemulti \
25+
icepack \
26+
icepll \
27+
icetime \
28+
iceunpack
29+
do
30+
which $t
31+
$t -h | head -n 5
32+
echo -e "$?\n\n\n"
33+
done

test/nextpnr--ecp5.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ echo "CC: $CC"
88
echo "CXX: $CXX"
99

1010
./smoke-tests/nextpnr-ecp5.sh
11+
12+
nextpnr-ecp5 --version

test/nextpnr--ice40.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ echo "CC: $CC"
88
echo "CXX: $CXX"
99

1010
./smoke-tests/nextpnr-ice40.sh
11+
12+
nextpnr-ice40 --version

test/nextpnr.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ echo "CC: $CC"
88
echo "CXX: $CXX"
99

1010
./smoke-tests/nextpnr.sh
11+
12+
nextpnr-ecp5 --version
13+
nextpnr-ice40 --version

test/prjtrellis.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,17 @@ echo "CC: $CC"
88
echo "CXX: $CXX"
99

1010
./smoke-tests/prjtrellis.sh
11+
12+
for t in \
13+
ecpbram \
14+
ecpmulti \
15+
ecppack \
16+
ecppll \
17+
ecpunpack
18+
do
19+
which $t
20+
$t -h | head -n 5
21+
echo -e "$?\n\n\n"
22+
done
23+
24+
ecppack --version

0 commit comments

Comments
 (0)