Commit 728d0013 authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

test: move blob library unit tests to test/unit



Change-Id: I151672e49c442dc1420b5ef6b5a6a47eb78e7464
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/366517


Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent a4a8c40f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

DIRS-y = bdev blob blobfs env event iscsi json log nvme
DIRS-y = bdev blobfs env event iscsi json log nvme

.PHONY: all clean $(DIRS-y)

+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@
#include "blobfs.c"
#include "tree.c"

#include "lib/blob/bs_dev_common.c"
#include "unit/lib/blob/bs_dev_common.c"

struct spdk_filesystem *g_fs;
struct spdk_file *g_file;
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
#include "spdk/barrier.h"

#include "spdk_cunit.h"
#include "lib/blob/bs_dev_common.c"
#include "unit/lib/blob/bs_dev_common.c"
#include "lib/test_env.c"
#include "blobfs.c"
#include "tree.c"
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

DIRS-y = bdev ioat json jsonrpc nvme nvmf scsi util
DIRS-y = bdev blob ioat json jsonrpc nvme nvmf scsi util

.PHONY: all clean $(DIRS-y)

+3 −2
Original line number Diff line number Diff line
@@ -31,10 +31,11 @@
#  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

DIRS-y = blob_ut
DIRS-y = blob.c

.PHONY: all clean $(DIRS-y)

all: $(DIRS-y)
Loading