2019-02-19 16:35:15 -06:00
|
|
|
#!/usr/bin/env bash
|
2014-07-26 10:22:18 -05:00
|
|
|
set -e
|
|
|
|
for x in *.ys; do
|
|
|
|
echo "Running $x.."
|
|
|
|
../../yosys -ql ${x%.ys}.log $x
|
|
|
|
done
|
2019-02-19 16:35:15 -06:00
|
|
|
# Run any .sh files in this directory (with the exception of the file - run-test.sh
|
|
|
|
shell_tests=$(echo *.sh | sed -e 's/run-test.sh//')
|
|
|
|
if [ "$shell_tests" ]; then
|
|
|
|
for s in $shell_tests; do
|
|
|
|
echo "Running $s.."
|
2019-02-22 18:06:10 -06:00
|
|
|
bash $s
|
2019-02-19 16:35:15 -06:00
|
|
|
done
|
|
|
|
fi
|