Skip to content

Commit

Permalink
tests: extend some tests with querying versions of the tools
Browse files Browse the repository at this point in the history
  • Loading branch information
se-bi committed Dec 12, 2020
1 parent f235036 commit 7543c4e
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/icestorm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,26 @@ echo "CC: $CC"
echo "CXX: $CXX"

./smoke-tests/icestorm.sh

for t in \
icebox_asc2hlc \
icebox_chipdb \
icebox_colbuf \
icebox_diff \
icebox_explain \
icebox_hlc2asc \
icebox_html \
icebox_maps \
icebox_stat \
icebox_vlog \
icebram \
icemulti \
icepack \
icepll \
icetime \
iceunpack
do
which $t
$t -h | head -n 5
echo -e "$?\n\n\n"
done
2 changes: 2 additions & 0 deletions test/nextpnr--ecp5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ echo "CC: $CC"
echo "CXX: $CXX"

./smoke-tests/nextpnr-ecp5.sh

nextpnr-ecp5 --version
2 changes: 2 additions & 0 deletions test/nextpnr--ice40.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ echo "CC: $CC"
echo "CXX: $CXX"

./smoke-tests/nextpnr-ice40.sh

nextpnr-ice40 --version
3 changes: 3 additions & 0 deletions test/nextpnr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ echo "CC: $CC"
echo "CXX: $CXX"

./smoke-tests/nextpnr.sh

nextpnr-ecp5 --version
nextpnr-ice40 --version
14 changes: 14 additions & 0 deletions test/prjtrellis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,17 @@ echo "CC: $CC"
echo "CXX: $CXX"

./smoke-tests/prjtrellis.sh

for t in \
ecpbram \
ecpmulti \
ecppack \
ecppll \
ecpunpack
do
which $t
$t -h | head -n 5
echo -e "$?\n\n\n"
done

ecppack --version

0 comments on commit 7543c4e

Please sign in to comment.