autotest: disable shell tracing around helper functions
Clean up the output a little bit. Change-Id: I34e97d14be861e7cb7d71be5d56a5a7c36b37008 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
1b68a8e705
commit
4668287bec
@ -65,11 +65,15 @@ function timing() {
|
||||
}
|
||||
|
||||
function timing_enter() {
|
||||
set +x
|
||||
timing "enter" "$1"
|
||||
set -x
|
||||
}
|
||||
|
||||
function timing_exit() {
|
||||
set +x
|
||||
timing "exit" "$1"
|
||||
set -x
|
||||
}
|
||||
|
||||
function timing_finish() {
|
||||
@ -177,11 +181,15 @@ function rbd_cleanup() {
|
||||
}
|
||||
|
||||
function run_test() {
|
||||
set +x
|
||||
echo "************************************"
|
||||
echo "START TEST $1"
|
||||
echo "************************************"
|
||||
set -x
|
||||
time $1
|
||||
set +x
|
||||
echo "************************************"
|
||||
echo "END TEST $1"
|
||||
echo "************************************"
|
||||
set -x
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user