Re: [PATCH v5 linux-kselftest-test 3/6] kunit: allow kunit tests to be loaded as a module

From: Iurii Zaikin
Date: Tue Dec 03 2019 - 19:17:47 EST


> +ifeq ($(CONFIG_EXT4_KUNIT_TESTS),y)
> ext4-$(CONFIG_EXT4_KUNIT_TESTS) += inode-test.o
> +else
> +obj-$(CONFIG_EXT4_KUNIT_TESTS) += ext4-inode-test.o
> +ext4-inode-test-objs += inode-test.o
> +endif
Why not rename it unconditionally?