From 899eb5f19af32cc85188573768960a6a64cf9963 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Thu, 22 Mar 2018 15:52:31 -0700 Subject: [PATCH] test: move ut_multithread.c to common/lib Change-Id: Ied7da08503b52470dbb8bb77eee1a711f41e7f28 Signed-off-by: Seth Howell Reviewed-on: https://review.gerrithub.io/404977 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Jim Harris --- test/{ => common}/lib/ut_multithread.c | 0 test/unit/lib/bdev/mt/bdev.c/bdev_ut.c | 2 +- test/unit/lib/util/io_channel.c/io_channel_ut.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename test/{ => common}/lib/ut_multithread.c (100%) diff --git a/test/lib/ut_multithread.c b/test/common/lib/ut_multithread.c similarity index 100% rename from test/lib/ut_multithread.c rename to test/common/lib/ut_multithread.c diff --git a/test/unit/lib/bdev/mt/bdev.c/bdev_ut.c b/test/unit/lib/bdev/mt/bdev.c/bdev_ut.c index 9664c15501..e4dcf4bc7a 100644 --- a/test/unit/lib/bdev/mt/bdev.c/bdev_ut.c +++ b/test/unit/lib/bdev/mt/bdev.c/bdev_ut.c @@ -34,8 +34,8 @@ #include "spdk_cunit.h" #include "common/lib/test_env.c" +#include "common/lib/ut_multithread.c" #include "unit/lib/json_mock.c" -#include "lib/ut_multithread.c" /* HACK: disable VTune integration so the unit test doesn't need VTune headers and libs to build */ #undef SPDK_CONFIG_VTUNE diff --git a/test/unit/lib/util/io_channel.c/io_channel_ut.c b/test/unit/lib/util/io_channel.c/io_channel_ut.c index 3c62b1e6ba..efda52d8fd 100644 --- a/test/unit/lib/util/io_channel.c/io_channel_ut.c +++ b/test/unit/lib/util/io_channel.c/io_channel_ut.c @@ -37,7 +37,7 @@ #include "util/io_channel.c" #include "common/lib/test_env.c" -#include "lib/ut_multithread.c" +#include "common/lib/ut_multithread.c" static void _send_msg(spdk_thread_fn fn, void *ctx, void *thread_ctx)