aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt/run-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/opt/run-test.sh')
-rwxr-xr-xtests/opt/run-test.sh8
1 files changed, 3 insertions, 5 deletions
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