2020-01-07 06:28:22 +08:00
|
|
|
obj-$(CONFIG_KUNIT) += kunit.o
|
|
|
|
|
|
|
|
kunit-objs += test.o \
|
2022-03-29 01:41:43 +08:00
|
|
|
resource.o \
|
2019-09-23 17:02:34 +08:00
|
|
|
string-stream.o \
|
2019-09-23 17:02:39 +08:00
|
|
|
assert.o \
|
2020-08-05 04:47:42 +08:00
|
|
|
try-catch.o \
|
|
|
|
executor.o
|
2019-09-23 17:02:37 +08:00
|
|
|
|
2020-03-26 22:25:07 +08:00
|
|
|
ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
|
|
|
|
kunit-objs += debugfs.o
|
|
|
|
endif
|
|
|
|
|
2020-01-07 06:28:20 +08:00
|
|
|
obj-$(CONFIG_KUNIT_TEST) += kunit-test.o
|
2019-09-23 17:02:37 +08:00
|
|
|
|
2020-01-07 06:28:20 +08: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
|