aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-07-09 20:58:28 +0200
committerClifford Wolf <clifford@clifford.at>2019-07-09 20:58:28 +0200
commit3dd92fcd15bc3f1448a97e6bb7c997d36781b55c (patch)
treee5fcc1d2319079f66a8ddfba1b530ddcfc679c26 /tests
parentf8512864cd2b9c0c17d71d4196dbf3f25ec554d1 (diff)
downloadyosys-3dd92fcd15bc3f1448a97e6bb7c997d36781b55c.tar.gz
yosys-3dd92fcd15bc3f1448a97e6bb7c997d36781b55c.tar.bz2
yosys-3dd92fcd15bc3f1448a97e6bb7c997d36781b55c.zip
Improve tests/various/run-test.sh
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/various/run-test.sh14
1 files changed, 6 insertions, 8 deletions
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