kunit: improve KTAP compliance of KUnit test output
[platform/kernel/linux-starfive.git] / lib / kunit / Makefile
1 obj-$(CONFIG_KUNIT) +=                  kunit.o
2
3 kunit-objs +=                           test.o \
4                                         resource.o \
5                                         string-stream.o \
6                                         assert.o \
7                                         try-catch.o \
8                                         executor.o
9
10 ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
11 kunit-objs +=                           debugfs.o
12 endif
13
14 obj-$(CONFIG_KUNIT_TEST) +=             kunit-test.o
15
16 # string-stream-test compiles built-in only.
17 ifeq ($(CONFIG_KUNIT_TEST),y)
18 obj-$(CONFIG_KUNIT_TEST) +=             string-stream-test.o
19 endif
20
21 obj-$(CONFIG_KUNIT_EXAMPLE_TEST) +=     kunit-example-test.o