diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-11-07 15:07:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 15:07:45 +0100 |
commit | 6940ef933a67e83bb7f8f8a2270779faeb8dbdd6 (patch) | |
tree | 407e14d5f7b46d5be9440b285a3480d42d503ff1 | |
parent | e7f36d01e44fb76b2352606ee6c7001662a7c638 (diff) | |
parent | 86e0440da906d1514aba463989c22d0ae82a18b6 (diff) | |
download | yosys-6940ef933a67e83bb7f8f8a2270779faeb8dbdd6.tar.gz yosys-6940ef933a67e83bb7f8f8a2270779faeb8dbdd6.tar.bz2 yosys-6940ef933a67e83bb7f8f8a2270779faeb8dbdd6.zip |
Merge pull request #2432 from Xiretza/nexus-tests
Update nexus arch tests to new harness
-rw-r--r-- | tests/arch/nexus/run-test.sh | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/tests/arch/nexus/run-test.sh b/tests/arch/nexus/run-test.sh index bf19b887d..4be4b70ae 100644 --- a/tests/arch/nexus/run-test.sh +++ b/tests/arch/nexus/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 -w 'Yosys has only limited support for tri-state logic at the moment.' $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 --yosys-args "-w 'Yosys has only limited support for tri-state logic at the moment.'" |