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:
parent
133dc1e6ae
commit
928df4a448
@ -34,7 +34,7 @@
|
|||||||
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
|
||||||
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
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
|
# TODO: do not check a hardcoded path here
|
||||||
ifneq (,$(wildcard /usr/local/include/fuse3))
|
ifneq (,$(wildcard /usr/local/include/fuse3))
|
||||||
|
1
test/lib/blobfs/blobfs_async_ut/.gitignore
vendored
Normal file
1
test/lib/blobfs/blobfs_async_ut/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
blobfs_async_ut
|
@ -35,9 +35,9 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../..)
|
|||||||
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
||||||
include $(SPDK_ROOT_DIR)/mk/spdk.app.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)/lib/blobfs -I$(SPDK_ROOT_DIR)/lib/blob
|
||||||
CFLAGS += -I$(SPDK_ROOT_DIR)/test
|
CFLAGS += -I$(SPDK_ROOT_DIR)/test
|
||||||
|
|
@ -428,7 +428,7 @@ int main(int argc, char **argv)
|
|||||||
return CU_get_error();
|
return CU_get_error();
|
||||||
}
|
}
|
||||||
|
|
||||||
suite = CU_add_suite("blobfs", NULL, NULL);
|
suite = CU_add_suite("blobfs_async_ut", NULL, NULL);
|
||||||
if (suite == NULL) {
|
if (suite == NULL) {
|
||||||
CU_cleanup_registry();
|
CU_cleanup_registry();
|
||||||
return CU_get_error();
|
return CU_get_error();
|
1
test/lib/blobfs/blobfs_sync_ut/.gitignore
vendored
Normal file
1
test/lib/blobfs/blobfs_sync_ut/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
blobfs_sync_ut
|
@ -35,9 +35,9 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../..)
|
|||||||
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
||||||
include $(SPDK_ROOT_DIR)/mk/spdk.app.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)/lib/blobfs -I$(SPDK_ROOT_DIR)/lib/blob
|
||||||
CFLAGS += -I$(SPDK_ROOT_DIR)/test
|
CFLAGS += -I$(SPDK_ROOT_DIR)/test
|
||||||
|
|
@ -278,7 +278,7 @@ int main(int argc, char **argv)
|
|||||||
return CU_get_error();
|
return CU_get_error();
|
||||||
}
|
}
|
||||||
|
|
||||||
suite = CU_add_suite("cache_ut", NULL, NULL);
|
suite = CU_add_suite("blobfs_sync_ut", NULL, NULL);
|
||||||
if (suite == NULL) {
|
if (suite == NULL) {
|
||||||
CU_cleanup_registry();
|
CU_cleanup_registry();
|
||||||
return CU_get_error();
|
return CU_get_error();
|
1
test/lib/blobfs/blobfs_ut/.gitignore
vendored
1
test/lib/blobfs/blobfs_ut/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
blobfs_ut
|
|
1
test/lib/blobfs/cache_ut/.gitignore
vendored
1
test/lib/blobfs/cache_ut/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
cache_ut
|
|
@ -7,9 +7,9 @@ set -xe
|
|||||||
|
|
||||||
$valgrind test/lib/blob/blob_ut/blob_ut
|
$valgrind test/lib/blob/blob_ut/blob_ut
|
||||||
|
|
||||||
$valgrind test/lib/blobfs/blobfs_ut/blobfs_ut
|
$valgrind test/lib/blobfs/blobfs_async_ut/blobfs_async_ut
|
||||||
# cache_ut hangs when run under valgrind, so don't use $valgrind
|
# blobfs_sync_ut hangs when run under valgrind, so don't use $valgrind
|
||||||
test/lib/blobfs/cache_ut/cache_ut
|
test/lib/blobfs/blobfs_sync_ut/blobfs_sync_ut
|
||||||
|
|
||||||
$valgrind test/lib/nvme/unit/nvme_c/nvme_ut
|
$valgrind test/lib/nvme/unit/nvme_c/nvme_ut
|
||||||
$valgrind test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut
|
$valgrind test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut
|
||||||
|
Loading…
Reference in New Issue
Block a user