From 5fc71d7e4000e07ad7519b72cd071cdb2292eb1f Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 6 Oct 2015 10:21:23 -0700 Subject: [PATCH] nvme: disable valgrind for nvme_ut nvme_ut is testing multi-threaded operations, and Valgrind's thread behavior is different than running the program natively. Under Valgrind, the unit test essentially hangs waiting for the global variable to be updated. Change-Id: Id3665002c16ac3e695c50325375305a76f72cee4 Signed-off-by: Daniel Verkamp --- test/lib/nvme/nvme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/nvme/nvme.sh b/test/lib/nvme/nvme.sh index 5a0c88e45..7750342ea 100755 --- a/test/lib/nvme/nvme.sh +++ b/test/lib/nvme/nvme.sh @@ -5,7 +5,7 @@ rootdir="$testdir/../../.." source $rootdir/scripts/autotest_common.sh $valgrind $testdir/unit/nvme_ns_cmd_c/nvme_ns_cmd_ut -$valgrind $testdir/unit/nvme_c/nvme_ut +$testdir/unit/nvme_c/nvme_ut $valgrind $testdir/unit/nvme_qpair_c/nvme_qpair_ut $valgrind $testdir/unit/nvme_ctrlr_c/nvme_ctrlr_ut $valgrind $testdir/unit/nvme_ctrlr_cmd_c/nvme_ctrlr_cmd_ut