Run delegated test tools/scripts with exec.
This commit is contained in:
parent
f9f49786ca
commit
c5348d8678
2
test/run
2
test/run
@ -57,4 +57,4 @@ done
|
||||
[[ -n $timeout ]] && args+=("OPT_TIMEOUT=$timeout")
|
||||
[[ -z $tool ]] && { echo "Must specify tool somehow"; exit 1; }
|
||||
|
||||
runtest --outdir log --tool $tool "${args[@]}"
|
||||
exec runtest --outdir log --tool $tool "${args[@]}"
|
||||
|
@ -4,4 +4,4 @@
|
||||
# isn't initialized at that point (i.e. output of `expect' is shown on
|
||||
# stdout - `open_logs' hasn't run yet?). And running code from a library
|
||||
# file isn't probably a good idea either.
|
||||
"$BASH" "$(dirname "${BASH_SOURCE[0]}")/run" --tool completion $*
|
||||
exec "$BASH" "$(dirname "${BASH_SOURCE[0]}")/run" --tool completion $*
|
||||
|
@ -4,4 +4,4 @@
|
||||
# isn't initialized at that point (i.e. output of `expect' is shown on
|
||||
# stdout - `open_logs' hasn't run yet?). And running code from a library
|
||||
# file isn't probably a good idea either.
|
||||
runtest --outdir log --tool install $*
|
||||
exec runtest --outdir log --tool install $*
|
||||
|
@ -4,4 +4,4 @@
|
||||
# isn't initialized at that point (i.e. output of `expect' is shown on
|
||||
# stdout - `open_logs' hasn't run yet?). And running code from a library
|
||||
# file isn't probably a good idea either.
|
||||
"$BASH" "$(dirname "${BASH_SOURCE[0]}")/run" --tool unit $*
|
||||
exec "$BASH" "$(dirname "${BASH_SOURCE[0]}")/run" --tool unit $*
|
||||
|
Loading…
x
Reference in New Issue
Block a user