mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Improve tests/various/run-test.sh
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
f8512864cd
commit
3dd92fcd15
|
@ -4,11 +4,9 @@ for x in *.ys; do
|
||||||
echo "Running $x.."
|
echo "Running $x.."
|
||||||
../../yosys -ql ${x%.ys}.log $x
|
../../yosys -ql ${x%.ys}.log $x
|
||||||
done
|
done
|
||||||
# Run any .sh files in this directory (with the exception of the file - run-test.sh
|
for s in *.sh; do
|
||||||
shell_tests=$(echo *.sh | sed -e 's/run-test.sh//')
|
if [ "$s" != "run-test.sh" ]; then
|
||||||
if [ "$shell_tests" ]; then
|
echo "Running $s.."
|
||||||
for s in $shell_tests; do
|
bash $s
|
||||||
echo "Running $s.."
|
fi
|
||||||
bash $s
|
done
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue