build: make nvme.unittest.mk the common unittest .mk include

This is the first of a long line of patches which will
reduce Makefile rule duplication in all of our SPDK
unit tests.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I1cd6e9e1e9cabab0a15dbcb901e4db782d73b1a4

Reviewed-on: https://review.gerrithub.io/399716
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Jim Harris 2018-02-13 08:12:23 -07:00
parent 0db2c2ef47
commit 435990003e
9 changed files with 8 additions and 8 deletions

View File

@ -35,4 +35,4 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../../..)
TEST_FILE = nvme_ut.c
include $(SPDK_ROOT_DIR)/mk/nvme.unittest.mk
include $(SPDK_ROOT_DIR)/mk/spdk.unittest.mk

View File

@ -35,4 +35,4 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../../..)
TEST_FILE = nvme_ctrlr_ut.c
include $(SPDK_ROOT_DIR)/mk/nvme.unittest.mk
include $(SPDK_ROOT_DIR)/mk/spdk.unittest.mk

View File

@ -35,4 +35,4 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../../..)
TEST_FILE = nvme_ctrlr_cmd_ut.c
include $(SPDK_ROOT_DIR)/mk/nvme.unittest.mk
include $(SPDK_ROOT_DIR)/mk/spdk.unittest.mk

View File

@ -35,4 +35,4 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../../..)
TEST_FILE = nvme_ns_ut.c
include $(SPDK_ROOT_DIR)/mk/nvme.unittest.mk
include $(SPDK_ROOT_DIR)/mk/spdk.unittest.mk

View File

@ -35,4 +35,4 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../../..)
TEST_FILE = nvme_ns_cmd_ut.c
include $(SPDK_ROOT_DIR)/mk/nvme.unittest.mk
include $(SPDK_ROOT_DIR)/mk/spdk.unittest.mk

View File

@ -35,4 +35,4 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../../..)
TEST_FILE = nvme_pcie_ut.c
include $(SPDK_ROOT_DIR)/mk/nvme.unittest.mk
include $(SPDK_ROOT_DIR)/mk/spdk.unittest.mk

View File

@ -35,4 +35,4 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../../..)
TEST_FILE = nvme_qpair_ut.c
include $(SPDK_ROOT_DIR)/mk/nvme.unittest.mk
include $(SPDK_ROOT_DIR)/mk/spdk.unittest.mk

View File

@ -35,4 +35,4 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../../../..)
TEST_FILE = nvme_quirks_ut.c
include $(SPDK_ROOT_DIR)/mk/nvme.unittest.mk
include $(SPDK_ROOT_DIR)/mk/spdk.unittest.mk