test: Add an overall test runner
[platform/kernel/u-boot.git] / test / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2012 The Chromium Authors
4
5 obj-y += test-main.o
6
7 ifneq ($(CONFIG_$(SPL_)BLOBLIST),)
8 obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
9 obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o
10 endif
11 obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/
12 obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o
13 obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o
14 obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o
15 obj-y += dm/
16 obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o
17 obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o
18 obj-$(CONFIG_UT_TIME) += time_ut.o
19 obj-y += ut.o
20
21 ifeq ($(CONFIG_SPL_BUILD),)
22 obj-$(CONFIG_UNIT_TEST) += lib/
23 obj-y += log/
24 obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
25 endif