Spdk/test/lib/scsi/scsi.sh
Daniel Verkamp 2f777920c9 test: run more unit tests under Valgrind
Where possible (for tests that don't require DPDK), run the unit tests
under Valgrind to check for memory leaks and out-of-bounds accesses.

Change-Id: Ic7b3cdd39a6d59f4e41b4a161be3363f6b076f65
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-10-04 09:38:34 -07:00

17 lines
288 B
Bash
Executable File

#!/usr/bin/env bash
set -xe
testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
timing_enter scsi
$valgrind $testdir/dev/dev_ut
$testdir/init/init_ut
$valgrind $testdir/lun/lun_ut
$testdir/scsi_bdev/scsi_bdev_ut
timing_exit scsi