From: Clifford Wolf Date: Tue, 9 Jul 2019 18:58:28 +0000 (+0200) Subject: Improve tests/various/run-test.sh X-Git-Tag: working-ls180~1209^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3dd92fcd15bc3f1448a97e6bb7c997d36781b55c;p=yosys.git Improve tests/various/run-test.sh Signed-off-by: Clifford Wolf --- diff --git a/tests/various/run-test.sh b/tests/various/run-test.sh index d49553ede..92b905765 100755 --- a/tests/various/run-test.sh +++ b/tests/various/run-test.sh @@ -4,11 +4,9 @@ for x in *.ys; do echo "Running $x.." ../../yosys -ql ${x%.ys}.log $x done -# Run any .sh files in this directory (with the exception of the file - run-test.sh -shell_tests=$(echo *.sh | sed -e 's/run-test.sh//') -if [ "$shell_tests" ]; then - for s in $shell_tests; do - echo "Running $s.." - bash $s - done -fi +for s in *.sh; do + if [ "$s" != "run-test.sh" ]; then + echo "Running $s.." + bash $s + fi +done