test/blobfs: Rename blobfs test file name

Change-Id: I584c667aff5a0cdfee26b958a2b58c6ed41d45f7
Signed-off-by: Jing Xia <jingx.y.xia@intel.com>
This commit is contained in:
Jing Xia 2017-05-03 21:54:47 +08:00 committed by Jim Harris
parent 133dc1e6ae
commit 928df4a448
10 changed files with 12 additions and 12 deletions

View File

@ -34,7 +34,7 @@
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
DIRS-y = blobfs_ut cache_ut mkfs
DIRS-y = blobfs_async_ut blobfs_sync_ut mkfs
# TODO: do not check a hardcoded path here
ifneq (,$(wildcard /usr/local/include/fuse3))

View File

@ -0,0 +1 @@
blobfs_async_ut

View File

@ -35,9 +35,9 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
include $(SPDK_ROOT_DIR)/mk/spdk.app.mk
APP = blobfs_ut
APP = blobfs_async_ut
C_SRCS := blobfs_ut.c
C_SRCS := blobfs_async_ut.c
CFLAGS += -I$(SPDK_ROOT_DIR)/lib/blobfs -I$(SPDK_ROOT_DIR)/lib/blob
CFLAGS += -I$(SPDK_ROOT_DIR)/test

View File

@ -428,7 +428,7 @@ int main(int argc, char **argv)
return CU_get_error();
}
suite = CU_add_suite("blobfs", NULL, NULL);
suite = CU_add_suite("blobfs_async_ut", NULL, NULL);
if (suite == NULL) {
CU_cleanup_registry();
return CU_get_error();

View File

@ -0,0 +1 @@
blobfs_sync_ut

View File

@ -35,9 +35,9 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
include $(SPDK_ROOT_DIR)/mk/spdk.app.mk
APP = cache_ut
APP = blobfs_sync_ut
C_SRCS := cache_ut.c
C_SRCS := blobfs_sync_ut.c
CFLAGS += -I$(SPDK_ROOT_DIR)/lib/blobfs -I$(SPDK_ROOT_DIR)/lib/blob
CFLAGS += -I$(SPDK_ROOT_DIR)/test

View File

@ -278,7 +278,7 @@ int main(int argc, char **argv)
return CU_get_error();
}
suite = CU_add_suite("cache_ut", NULL, NULL);
suite = CU_add_suite("blobfs_sync_ut", NULL, NULL);
if (suite == NULL) {
CU_cleanup_registry();
return CU_get_error();

View File

@ -1 +0,0 @@
blobfs_ut

View File

@ -1 +0,0 @@
cache_ut

View File

@ -7,9 +7,9 @@ set -xe
$valgrind test/lib/blob/blob_ut/blob_ut
$valgrind test/lib/blobfs/blobfs_ut/blobfs_ut
# cache_ut hangs when run under valgrind, so don't use $valgrind
test/lib/blobfs/cache_ut/cache_ut
$valgrind test/lib/blobfs/blobfs_async_ut/blobfs_async_ut
# blobfs_sync_ut hangs when run under valgrind, so don't use $valgrind
test/lib/blobfs/blobfs_sync_ut/blobfs_sync_ut
$valgrind test/lib/nvme/unit/nvme_c/nvme_ut
$valgrind test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut