test/common: Enable script debugging in readonly and pmem test
set -x flag in pmem and readonly tests for easier debugging Change-Id: I006d57bb770427a39b8788cfb1def44b75f47e47 Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com> Reviewed-on: https://review.gerrithub.io/403066 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
230833d8ce
commit
3fe4b05b47
@ -202,7 +202,7 @@ if [ $SPDK_TEST_VHOST_INIT -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SPDK_TEST_NVML -eq 1 ]; then
|
if [ $SPDK_TEST_NVML -eq 1 ]; then
|
||||||
run_test ./test/pmem/pmem.sh
|
run_test ./test/pmem/pmem.sh -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
timing_enter cleanup
|
timing_enter cleanup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -xe
|
||||||
BASE_DIR=$(readlink -f $(dirname $0))
|
BASE_DIR=$(readlink -f $(dirname $0))
|
||||||
|
|
||||||
disk_name="vda"
|
disk_name="vda"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -xe
|
||||||
BASE_DIR=$(readlink -f $(dirname $0))
|
BASE_DIR=$(readlink -f $(dirname $0))
|
||||||
|
|
||||||
disk_name="vda"
|
disk_name="vda"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
BASE_DIR=$(readlink -f $(dirname $0))
|
BASE_DIR=$(readlink -f $(dirname $0))
|
||||||
|
|
||||||
disk_name="vda"
|
disk_name="vda"
|
||||||
|
@ -194,7 +194,7 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
-ro|--readonly)
|
-ro|--readonly)
|
||||||
echo 'Running readonly tests suite...'
|
echo 'Running readonly tests suite...'
|
||||||
$WORKDIR/readonly/readonly.sh --vm_image=$VM_IMAGE --disk=Nvme0n1
|
$WORKDIR/readonly/readonly.sh --vm_image=$VM_IMAGE --disk=Nvme0n1 -x
|
||||||
report_test_completion "vhost_readonly"
|
report_test_completion "vhost_readonly"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user