3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-05 10:50:25 +00:00

Merge pull request #2380 from Xiretza/parallel-tests

Clean up and parallelize testsuite
This commit is contained in:
clairexen 2020-10-01 18:12:31 +02:00 committed by GitHub
commit 2412e75495
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 156 additions and 230 deletions

View file

@ -1,20 +1,4 @@
#!/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 $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
set -eu
source ../gen-tests-makefile.sh
run_tests --yosys-scripts --bash