test/bdev_ut: fix build with --with-vtune

Change-Id: Iaed5e670bef4ef5e588c9df4858f4d1ff240df58
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/369273
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: <roman.sudarikov@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Daniel Verkamp 2017-07-12 10:22:56 -07:00 committed by Jim Harris
parent cc7407947b
commit 229f64942d

View File

@ -34,6 +34,10 @@
#include "spdk_cunit.h"
#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.c"
SPDK_DECLARE_BDEV_MODULE(vbdev_ut);