From: Eddie Hung Date: Thu, 29 Aug 2019 01:47:48 +0000 (-0700) Subject: Add run-test.sh too X-Git-Tag: working-ls180~1088^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13ecd8b0df267285eb9f0a6fda84684ef491eded;p=yosys.git Add run-test.sh too --- 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