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