blob: c49f4ffb6273a84ec29eb9d185c51dd398787348 [file] [log] [blame]
Alan Maguire9fe124b2020-01-06 22:28:22 +00001obj-$(CONFIG_KUNIT) += kunit.o
2
3kunit-objs += test.o \
Brendan Higgins6b229e52019-09-23 02:02:34 -07004 string-stream.o \
Brendan Higgins5f3e0622019-09-23 02:02:39 -07005 assert.o \
Alan Maguireaac35462020-08-04 13:47:42 -07006 try-catch.o \
7 executor.o
Brendan Higginsd8e2a762019-09-23 02:02:37 -07008
Alan Maguiree2219db2020-03-26 14:25:07 +00009ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
10kunit-objs += debugfs.o
11endif
12
Alan Maguirec475c772020-01-06 22:28:20 +000013obj-$(CONFIG_KUNIT_TEST) += kunit-test.o
Brendan Higginsd8e2a762019-09-23 02:02:37 -070014
Alan Maguirec475c772020-01-06 22:28:20 +000015# string-stream-test compiles built-in only.
16ifeq ($(CONFIG_KUNIT_TEST),y)
17obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o
18endif
19
20obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o