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