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:
Daniel Verkamp 2016-12-02 11:26:28 -07:00
parent 1b68a8e705
commit 4668287bec

View File

@ -65,11 +65,15 @@ function timing() {
} }
function timing_enter() { function timing_enter() {
set +x
timing "enter" "$1" timing "enter" "$1"
set -x
} }
function timing_exit() { function timing_exit() {
set +x
timing "exit" "$1" timing "exit" "$1"
set -x
} }
function timing_finish() { function timing_finish() {
@ -177,11 +181,15 @@ function rbd_cleanup() {
} }
function run_test() { function run_test() {
set +x
echo "************************************" echo "************************************"
echo "START TEST $1" echo "START TEST $1"
echo "************************************" echo "************************************"
set -x
time $1 time $1
set +x
echo "************************************" echo "************************************"
echo "END TEST $1" echo "END TEST $1"
echo "************************************" echo "************************************"
set -x
} }