projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f851286
)
Improve tests/various/run-test.sh
author
Clifford Wolf
<clifford@clifford.at>
Tue, 9 Jul 2019 18:58:28 +0000
(20:58 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 9 Jul 2019 18:58:28 +0000
(20:58 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
tests/various/run-test.sh
patch
|
blob
|
history
diff --git
a/tests/various/run-test.sh
b/tests/various/run-test.sh
index d49553edef6272961e1cd154297f6468ce53eb59..92b90576504755b93902326ae4edc39e66df8a02 100755
(executable)
--- 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