aboutsummaryrefslogtreecommitdiffstats
path: root/tests/efinix/run-test.sh
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-10-04 12:20:49 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-10-04 12:20:49 +0200
commitef417fb1b3555a3075bcd01cb7c5267f3e55b407 (patch)
tree80813ffc49a6a645cb28224af9359ebfe12634a5 /tests/efinix/run-test.sh
parent2ed2e9c3e8f2d9d6882588857c8556a6e2af57ea (diff)
parenteb750670e3835a1bad36cb604e04bf4836cc7f91 (diff)
downloadyosys-ef417fb1b3555a3075bcd01cb7c5267f3e55b407.tar.gz
yosys-ef417fb1b3555a3075bcd01cb7c5267f3e55b407.tar.bz2
yosys-ef417fb1b3555a3075bcd01cb7c5267f3e55b407.zip
Merge branch 'SergeyDegtyar/efinix' of https://github.com/SergeyDegtyar/yosys into mmicko/efinix
Diffstat (limited to 'tests/efinix/run-test.sh')
-rwxr-xr-xtests/efinix/run-test.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/efinix/run-test.sh b/tests/efinix/run-test.sh
new file mode 100755
index 000000000..46716f9a0
--- /dev/null
+++ b/tests/efinix/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 -w 'Yosys has only limited support for tri-state logic at the moment.' $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