diff --git a/examples/nvme/Makefile b/examples/nvme/Makefile index 4e88acc71..b69efc975 100644 --- a/examples/nvme/Makefile +++ b/examples/nvme/Makefile @@ -34,7 +34,7 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..) include $(SPDK_ROOT_DIR)/mk/spdk.common.mk -DIRS-y += hello_world identify perf reconnect reserve nvme_manage arbitration \ +DIRS-y += hello_world identify perf reconnect nvme_manage arbitration \ hotplug cmb_copy DIRS-$(CONFIG_FIO_PLUGIN) += fio_plugin diff --git a/test/nvme/Makefile b/test/nvme/Makefile index 10901780d..37cc9944c 100644 --- a/test/nvme/Makefile +++ b/test/nvme/Makefile @@ -34,7 +34,8 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..) include $(SPDK_ROOT_DIR)/mk/spdk.common.mk -DIRS-y = aer reset sgl e2edp overhead deallocated_value err_injection startup +DIRS-y = aer reset sgl e2edp overhead deallocated_value err_injection \ + startup reserve .PHONY: all clean $(DIRS-y) diff --git a/test/nvme/nvme.sh b/test/nvme/nvme.sh index a698a9ba4..4632e25f8 100755 --- a/test/nvme/nvme.sh +++ b/test/nvme/nvme.sh @@ -109,11 +109,11 @@ fi run_test "nvme_reset" $testdir/reset/reset -q 64 -w write -s 4096 -t 5 run_test "nvme_identify" nvme_identify run_test "nvme_perf" nvme_perf -run_test "nvme_reserve" $rootdir/examples/nvme/reserve/reserve run_test "nvme_hello_world" $rootdir/examples/nvme/hello_world/hello_world run_test "nvme_deallocated_value" $testdir/deallocated_value/deallocated_value run_test "nvme_sgl" $testdir/sgl/sgl run_test "nvme_e2edp" $testdir/e2edp/nvme_dp +run_test "nvme_reserve" $testdir/reserve/reserve run_test "nvme_err_injection" $testdir/err_injection/err_injection run_test "nvme_overhead" $testdir/overhead/overhead -s 4096 -t 1 -H run_test "nvme_arbitration" $rootdir/examples/nvme/arbitration/arbitration -t 3 -i 0 diff --git a/examples/nvme/reserve/.gitignore b/test/nvme/reserve/.gitignore similarity index 100% rename from examples/nvme/reserve/.gitignore rename to test/nvme/reserve/.gitignore diff --git a/examples/nvme/reserve/Makefile b/test/nvme/reserve/Makefile similarity index 100% rename from examples/nvme/reserve/Makefile rename to test/nvme/reserve/Makefile diff --git a/examples/nvme/reserve/reserve.c b/test/nvme/reserve/reserve.c similarity index 100% rename from examples/nvme/reserve/reserve.c rename to test/nvme/reserve/reserve.c