From 6f450d0224a3ad09c61c5a150e3e7b3b6241338d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 20 Jul 2014 14:55:10 +0200 Subject: Added tests/share for testing "share" supercell creation --- tests/share/run-test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tests/share/run-test.sh (limited to 'tests/share/run-test.sh') diff --git a/tests/share/run-test.sh b/tests/share/run-test.sh new file mode 100755 index 00000000..d511c909 --- /dev/null +++ b/tests/share/run-test.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + +rm -rf temp +mkdir -p temp +echo "generating tests.." +python generate.py + +echo "running tests.." +for i in $( ls temp/*.ys | sed 's,[^0-9],,g; s,^0*\(.\),\1,g;' ); do + echo -n "[$i]" + idx=$( printf "%05d" $i ) + ../../yosys -ql temp/uut_${idx}.log temp/uut_${idx}.ys +done +echo + -- cgit v1.2.3