diff options
author | clairexen <claire@symbioticeda.com> | 2020-10-01 18:12:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 18:12:31 +0200 |
commit | 2412e754953595627e8c87ff0aa773929c71a852 (patch) | |
tree | bc02013f6312a0c1cb8351e213bd7e08255d79f9 /tests/verilog/run-test.sh | |
parent | c4bfbecca60eaf8c02a792627c1e49b5dde3cdeb (diff) | |
parent | bed14241efbf9949d0ed9d84836d7a019895dfde (diff) | |
download | yosys-2412e754953595627e8c87ff0aa773929c71a852.tar.gz yosys-2412e754953595627e8c87ff0aa773929c71a852.tar.bz2 yosys-2412e754953595627e8c87ff0aa773929c71a852.zip |
Merge pull request #2380 from Xiretza/parallel-tests
Clean up and parallelize testsuite
Diffstat (limited to 'tests/verilog/run-test.sh')
-rwxr-xr-x | tests/verilog/run-test.sh | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/tests/verilog/run-test.sh b/tests/verilog/run-test.sh index ea56b70f0..2f91cf0fd 100755 --- a/tests/verilog/run-test.sh +++ b/tests/verilog/run-test.sh @@ -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 |