Alan Maguire | 9fe124b | 2020-01-06 22:28:22 +0000 | [diff] [blame] | 1 | obj-$(CONFIG_KUNIT) += kunit.o |
| 2 | |
| 3 | kunit-objs += test.o \ |
Brendan Higgins | 6b229e5 | 2019-09-23 02:02:34 -0700 | [diff] [blame] | 4 | string-stream.o \ |
Brendan Higgins | 5f3e062 | 2019-09-23 02:02:39 -0700 | [diff] [blame] | 5 | assert.o \ |
Alan Maguire | aac3546 | 2020-08-04 13:47:42 -0700 | [diff] [blame] | 6 | try-catch.o \ |
| 7 | executor.o |
Brendan Higgins | d8e2a76 | 2019-09-23 02:02:37 -0700 | [diff] [blame] | 8 | |
Alan Maguire | e2219db | 2020-03-26 14:25:07 +0000 | [diff] [blame] | 9 | ifeq ($(CONFIG_KUNIT_DEBUGFS),y) |
| 10 | kunit-objs += debugfs.o |
| 11 | endif |
| 12 | |
Alan Maguire | c475c77 | 2020-01-06 22:28:20 +0000 | [diff] [blame] | 13 | obj-$(CONFIG_KUNIT_TEST) += kunit-test.o |
Brendan Higgins | d8e2a76 | 2019-09-23 02:02:37 -0700 | [diff] [blame] | 14 | |
Alan Maguire | c475c77 | 2020-01-06 22:28:20 +0000 | [diff] [blame] | 15 | # string-stream-test compiles built-in only. |
| 16 | ifeq ($(CONFIG_KUNIT_TEST),y) |
| 17 | obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o |
| 18 | endif |
| 19 | |
| 20 | obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o |