(testsuite) Remove need specify `./' with run args
This allows running tests as: ./run unit/_filedir.exp instead of ./run ./unit/_filedir.expmaster
parent
6ac176ec72
commit
7ed79a9245
2
test/run
2
test/run
|
@ -44,7 +44,7 @@ while [[ $# > 0 ]]; do
|
|||
--timeout=*) timeout=${1/--timeout=};;
|
||||
--tool=*) set_tool "${1#/--tool=}";;
|
||||
--tool) shift; set_tool "$1";;
|
||||
*/completion/*.exp|*/unit/*.exp)
|
||||
completion/*.exp|*/completion/*.exp|unit/*.exp|*/unit/*.exp)
|
||||
arg=${1%/*}
|
||||
set_tool "${arg##*/}"
|
||||
args+=("${1##*/}")
|
||||
|
|
Loading…
Reference in New Issue