3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-12 20:18:20 +00:00
yosys/tests/techmap/run-test.sh
2019-02-19 15:25:03 -08:00

19 lines
270 B
Bash
Executable file

#!/bin/bash
set -e
for x in *_runtest.sh; do
echo "Running $x.."
if ! bash $x &> ${x%.sh}.log; then
tail ${x%.sh}.log
echo ERROR
exit 1
fi
done
for d in */; do
if [ -x $d/run-test.sh ]; then
cd $d
bash run-test.sh
cd ..
fi
done