xref: /spdk/test/Makefile (revision 355312bfcd3751f9af17fbefc90373fb8a269614)
1#  SPDX-License-Identifier: BSD-3-Clause
2#  Copyright (C) 2015 Intel Corporation.
3#  All rights reserved.
4#  Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
5#
6
7SPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
8include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
9
10# These directories contain tests.
11TESTDIRS = accel app bdev blobfs cpp_headers dma env event lvol nvme rpc_client thread
12
13DIRS-$(CONFIG_TESTS) += $(TESTDIRS)
14DIRS-$(CONFIG_UNIT_TESTS) += unit
15
16.PHONY: all clean $(DIRS-y)
17
18all: $(DIRS-y)
19clean: $(DIRS-y)
20
21include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
22