mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
fix run called without args
This commit is contained in:
parent
40f54da680
commit
3eeb3cd156
1 changed files with 5 additions and 3 deletions
|
|
@ -5,10 +5,12 @@
|
|||
|
||||
. tests/common.sh
|
||||
|
||||
TESTS=
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
for file in tests/*.sh; do
|
||||
i=`basename $file .sh`
|
||||
TESTS="$TESTS $NAME"
|
||||
for NAME in tests/??.sh; do
|
||||
i=`basename $NAME .sh`
|
||||
TESTS="$TESTS $i"
|
||||
done
|
||||
else
|
||||
TESTS=$@
|
||||
|
|
|
|||
Loading…
Reference in a new issue