2020-01-06 22:28:22 +00:00
|
|
|
obj-$(CONFIG_KUNIT) += kunit.o
|
|
|
|
|
|
|
|
kunit-objs += test.o \
|
2019-09-23 09:02:34 +00:00
|
|
|
string-stream.o \
|
2019-09-23 09:02:39 +00:00
|
|
|
assert.o \
|
2020-08-04 20:47:42 +00:00
|
|
|
try-catch.o \
|
|
|
|
executor.o
|
2019-09-23 09:02:37 +00:00
|
|
|
|
2020-03-26 14:25:07 +00:00
|
|
|
ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
|
|
|
|
kunit-objs += debugfs.o
|
|
|
|
endif
|
|
|
|
|
2020-01-06 22:28:20 +00:00
|
|
|
obj-$(CONFIG_KUNIT_TEST) += kunit-test.o
|
2019-09-23 09:02:37 +00:00
|
|
|
|
2020-01-06 22:28:20 +00:00
|
|
|
# string-stream-test compiles built-in only.
|
|
|
|
ifeq ($(CONFIG_KUNIT_TEST),y)
|
|
|
|
obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o
|