1 obj-$(CONFIG_KUNIT) += kunit.o 2 3 kunit-objs += test.o \ 4 resource.o \ 5 user_alloc.o \ 6 static_stub.o \ 7 string-stream.o \ 8 assert.o \ 9 try-catch.o \ 10 executor.o \ 11 attributes.o \ 12 device.o \ 13 platform.o 14 15 ifeq ($(CONFIG_KUNIT_DEBUGFS),y) 16 kunit-objs += debugfs.o 17 endif 18 19 # KUnit 'hooks' are built-in even when KUnit is built as a module. 20 obj-y += hooks.o 21 22 obj-$(CONFIG_KUNIT_TEST) += kunit-test.o 23 obj-$(CONFIG_KUNIT_TEST) += platform-test.o 24 25 # string-stream-test compiles built-in only. 26 ifeq ($(CONFIG_KUNIT_TEST),y) 27 obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o 28 obj-$(CONFIG_KUNIT_TEST) += assert_test.o 29 endif 30 31 obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.