diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-28 18:47:48 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-28 18:47:48 -0700 |
commit | 13ecd8b0df267285eb9f0a6fda84684ef491eded (patch) | |
tree | 4487ab3c9322d816666af11f4d100063d15476d9 /tests | |
parent | a4f641f2303bc6f04751a15ec49cf2658ea8eb63 (diff) | |
download | yosys-13ecd8b0df267285eb9f0a6fda84684ef491eded.tar.gz yosys-13ecd8b0df267285eb9f0a6fda84684ef491eded.tar.bz2 yosys-13ecd8b0df267285eb9f0a6fda84684ef491eded.zip |
Add run-test.sh too
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ice40/run-test.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/ice40/run-test.sh b/tests/ice40/run-test.sh new file mode 100755 index 000000000..ea56b70f0 --- /dev/null +++ b/tests/ice40/run-test.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +set -e +{ +echo "all::" +for x in *.ys; do + echo "all:: run-$x" + echo "run-$x:" + echo " @echo 'Running $x..'" + echo " @../../yosys -ql ${x%.ys}.log $x" +done +for s in *.sh; do + if [ "$s" != "run-test.sh" ]; then + echo "all:: run-$s" + echo "run-$s:" + echo " @echo 'Running $s..'" + echo " @bash $s" + fi +done +} > run-test.mk +exec ${MAKE:-make} -f run-test.mk |