From 736f6937f64b93e681795009b97058609e315d7a Mon Sep 17 00:00:00 2001 From: Changpeng Liu Date: Wed, 28 Feb 2018 09:53:42 +0800 Subject: [PATCH] test/part_ut: remove VTUNE dependency for this unit test Change-Id: If19c263d184c1eaab12950ba0baa05e7f3aea6e0 Signed-off-by: Changpeng Liu Reviewed-on: https://review.gerrithub.io/401729 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Jim Harris --- test/unit/lib/bdev/part.c/part_ut.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/lib/bdev/part.c/part_ut.c b/test/unit/lib/bdev/part.c/part_ut.c index ffa8aa7185..a32d4dabf4 100644 --- a/test/unit/lib/bdev/part.c/part_ut.c +++ b/test/unit/lib/bdev/part.c/part_ut.c @@ -35,6 +35,9 @@ #include "lib/test_env.c" +/* HACK: disable VTune integration so the unit test doesn't need VTune headers and libs to build */ +#undef SPDK_CONFIG_VTUNE + #include "bdev/bdev.c" #include "bdev/part.c"