2015-11-04 18:02:40 +00:00
|
|
|
#!/usr/bin/env bash
|
2017-01-24 22:44:19 +00:00
|
|
|
#
|
|
|
|
# Environment variables:
|
|
|
|
# $valgrind Valgrind executable name, if desired
|
2015-11-04 18:02:40 +00:00
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2017-03-20 18:26:50 +00:00
|
|
|
$valgrind test/lib/blob/blob_ut/blob_ut
|
|
|
|
|
2017-03-22 20:35:00 +00:00
|
|
|
$valgrind test/lib/blobfs/blobfs_ut/blobfs_ut
|
2017-03-29 00:32:40 +00:00
|
|
|
# cache_ut hangs when run under valgrind, so don't use $valgrind
|
|
|
|
test/lib/blobfs/cache_ut/cache_ut
|
2017-03-22 20:35:00 +00:00
|
|
|
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/nvme/unit/nvme_c/nvme_ut
|
|
|
|
$valgrind test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut
|
|
|
|
$valgrind test/lib/nvme/unit/nvme_ctrlr_cmd_c/nvme_ctrlr_cmd_ut
|
2017-01-09 15:43:41 +00:00
|
|
|
$valgrind test/lib/nvme/unit/nvme_ns_c/nvme_ns_ut
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/nvme/unit/nvme_ns_cmd_c/nvme_ns_cmd_ut
|
|
|
|
$valgrind test/lib/nvme/unit/nvme_qpair_c/nvme_qpair_ut
|
|
|
|
$valgrind test/lib/nvme/unit/nvme_pcie_c/nvme_pcie_ut
|
|
|
|
$valgrind test/lib/nvme/unit/nvme_quirks_c/nvme_quirks_ut
|
2015-12-03 21:30:38 +00:00
|
|
|
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/ioat/unit/ioat_ut
|
2016-05-09 20:16:32 +00:00
|
|
|
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/json/parse/json_parse_ut
|
|
|
|
$valgrind test/lib/json/util/json_util_ut
|
|
|
|
$valgrind test/lib/json/write/json_write_ut
|
2016-05-09 22:27:37 +00:00
|
|
|
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/jsonrpc/server/jsonrpc_server_ut
|
2016-05-19 20:29:37 +00:00
|
|
|
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/log/log_ut
|
2016-07-21 22:08:23 +00:00
|
|
|
|
2017-03-14 21:11:05 +00:00
|
|
|
$valgrind test/lib/nvmf/discovery/discovery_ut
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/nvmf/request/request_ut
|
|
|
|
$valgrind test/lib/nvmf/session/session_ut
|
|
|
|
$valgrind test/lib/nvmf/subsystem/subsystem_ut
|
|
|
|
$valgrind test/lib/nvmf/direct/direct_ut
|
2017-01-18 16:35:00 +00:00
|
|
|
$valgrind test/lib/nvmf/virtual/virtual_ut
|
2016-07-27 16:32:00 +00:00
|
|
|
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/scsi/dev/dev_ut
|
2017-01-24 23:18:12 +00:00
|
|
|
$valgrind test/lib/scsi/init/init_ut
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/scsi/lun/lun_ut
|
|
|
|
$valgrind test/lib/scsi/scsi_bdev/scsi_bdev_ut
|
|
|
|
$valgrind test/lib/scsi/scsi_nvme/scsi_nvme_ut
|
2016-09-15 00:12:15 +00:00
|
|
|
|
2017-03-29 20:04:05 +00:00
|
|
|
# TODO: fix valgrind warnings and add $valgrind to iSCSI tests
|
|
|
|
test/lib/iscsi/param/param_ut
|
2017-03-29 20:54:20 +00:00
|
|
|
$valgrind test/lib/iscsi/target_node/target_node_ut test/lib/iscsi/target_node/target_node.conf
|
2017-03-29 20:04:05 +00:00
|
|
|
test/lib/iscsi/pdu/pdu
|
|
|
|
|
2017-01-24 22:44:19 +00:00
|
|
|
$valgrind test/lib/util/bit_array/bit_array_ut
|
|
|
|
$valgrind test/lib/util/io_channel/io_channel_ut
|
2017-02-01 17:05:51 +00:00
|
|
|
$valgrind test/lib/util/string/string_ut
|
2017-05-03 23:57:59 +00:00
|
|
|
|
|
|
|
set +x
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
echo "====================="
|
|
|
|
echo "All unit tests passed"
|
|
|
|
echo "====================="
|
|
|
|
echo
|
|
|
|
echo
|