From acd47bbd52d11216b883b99f3e17ae4ffbd5f4a3 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Wed, 16 Sep 2020 17:59:37 +0200 Subject: tests: Centralize test collection and Makefile generation --- tests/opt/run-test.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/opt/run-test.sh') diff --git a/tests/opt/run-test.sh b/tests/opt/run-test.sh index 44ce7e674..2007cd6e4 100755 --- a/tests/opt/run-test.sh +++ b/tests/opt/run-test.sh @@ -1,6 +1,4 @@ #!/bin/bash -set -e -for x in *.ys; do - echo "Running $x.." - ../../yosys -ql ${x%.ys}.log $x -done +set -eu +source ../gen-tests-makefile.sh +run_tests --yosys-scripts -- cgit v1.2.3