Skip to content

Commit

Permalink
test: remove btt tests
Browse files Browse the repository at this point in the history
Remove btt specyfic tests and related tools.
libpmemblk test that uses btt are not included in this PR

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed Jun 28, 2023
1 parent b95f2a1 commit abdce73
Show file tree
Hide file tree
Showing 57 changed files with 5 additions and 2,270 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This release:
- removes libpmempool API tests that use log/blk/btt pool types (partially)
- removes btt specific test and related btt tests tools
- removes btt support from pmemspoil
- ...

Wed May 31 2023 Oksana Sałyk <oksana.salyk@intel.com>
Expand Down
3 changes: 0 additions & 3 deletions src/test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ OBJ_TESTS = \

OTHER_TESTS = \
arch_flags\
bttdevice\
checksum\
compat_incompat_features\
ctl_prefault\
Expand Down Expand Up @@ -248,10 +247,8 @@ LIBPMEMPOOL_DEPS = \
LIBPMEMPOOL_TESTS = \
libpmempool_include\
libpmempool_backup\
libpmempool_bttdev\
libpmempool_check_version\
libpmempool_feature\
libpmempool_map_flog\
libpmempool_rm

LIBPMEMPOOL_MOD_DEPS = \
Expand Down
7 changes: 0 additions & 7 deletions src/test/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -658,13 +658,6 @@ ifeq ($(USE_PMEMSPOIL), y)
all: $(TOOLS)/pmemspoil/pmemspoil
endif

$(TOOLS)/bttcreate/bttcreate:
$(MAKE) -C $(TOOLS)/bttcreate all

ifeq ($(USE_BTTCREATE), y)
all: $(TOOLS)/bttcreate/bttcreate
endif

$(TOOLS)/pmemwrite/pmemwrite:
$(MAKE) -C $(TOOLS)/pmemwrite all

Expand Down
11 changes: 0 additions & 11 deletions src/test/bttdevice/Makefile

This file was deleted.

9 changes: 0 additions & 9 deletions src/test/bttdevice/README

This file was deleted.

37 changes: 0 additions & 37 deletions src/test/bttdevice/TEST0

This file was deleted.

32 changes: 0 additions & 32 deletions src/test/bttdevice/TEST1

This file was deleted.

67 changes: 0 additions & 67 deletions src/test/bttdevice/out0.log.match

This file was deleted.

35 changes: 0 additions & 35 deletions src/test/bttdevice/out1.log.match

This file was deleted.

3 changes: 1 addition & 2 deletions src/test/libpmempool_api/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2016-2019, Intel Corporation
# Copyright 2016-2023, Intel Corporation

#
# src/test/libpmempool_api/Makefile -- build libpmempool_api unittest
Expand All @@ -11,6 +11,5 @@ OBJS = libpmempool_test.o
LIBPMEMPOOL=y
USE_PMEMSPOIL=y
USE_PMEMWRITE=y
USE_BTTCREATE=y

include ../Makefile.inc
3 changes: 1 addition & 2 deletions src/test/libpmempool_api/Makefile.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2016-2018, Intel Corporation
# Copyright 2016-2023, Intel Corporation

#
# src/test/libpmempool_api/Makefile.inc -- build libpmempool_* unittest
Expand All @@ -11,6 +11,5 @@
all: ../libpmempool_api/libpmempool_test

USE_PMEMSPOIL=y
USE_BTTCREATE=y

include ../Makefile.inc
2 changes: 0 additions & 2 deletions src/test/libpmempool_api/libpmempool_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ main(int argc, char *argv[])
args.pool_type = PMEMPOOL_POOL_TYPE_LOG;
} else if (strcmp(optarg, "obj") == 0) {
args.pool_type = PMEMPOOL_POOL_TYPE_OBJ;
} else if (strcmp(optarg, "btt") == 0) {
args.pool_type = PMEMPOOL_POOL_TYPE_BTT;
} else {
args.pool_type =
(uint32_t)strtoul(optarg, NULL, 0);
Expand Down
8 changes: 0 additions & 8 deletions src/test/libpmempool_bttdev/Makefile

This file was deleted.

5 changes: 0 additions & 5 deletions src/test/libpmempool_bttdev/README

This file was deleted.

30 changes: 0 additions & 30 deletions src/test/libpmempool_bttdev/TEST0

This file was deleted.

33 changes: 0 additions & 33 deletions src/test/libpmempool_bttdev/TEST1

This file was deleted.

34 changes: 0 additions & 34 deletions src/test/libpmempool_bttdev/TEST10

This file was deleted.

Loading

0 comments on commit abdce73

Please sign in to comment.