Skip to content

Commit 19fd748

Browse files
committed
of/unittest: Rename selftest.c to unittest.c
This is unit testing code. It should use that name because it makes more sense than 'selftest'. Rename the files to match and rename the config variable. Signed-off-by: Grant Likely <[email protected]>
1 parent 851da97 commit 19fd748

File tree

8 files changed

+4
-4
lines changed

8 files changed

+4
-4
lines changed

drivers/of/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ config OF
77
menu "Device Tree and Open Firmware support"
88
depends on OF
99

10-
config OF_SELFTEST
11-
bool "Device Tree Runtime self tests"
10+
config OF_UNITTEST
11+
bool "Device Tree runtime unit tests"
1212
depends on OF_IRQ && OF_EARLY_FLATTREE
1313
select OF_DYNAMIC
1414
select OF_RESOLVE

drivers/of/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ obj-$(CONFIG_OF_PROMTREE) += pdt.o
66
obj-$(CONFIG_OF_ADDRESS) += address.o
77
obj-$(CONFIG_OF_IRQ) += irq.o
88
obj-$(CONFIG_OF_NET) += of_net.o
9-
obj-$(CONFIG_OF_SELFTEST) += of_selftest.o
10-
of_selftest-objs := selftest.o testcase-data/testcases.dtb.o
9+
obj-$(CONFIG_OF_UNITTEST) += of_unittest.o
10+
of_unittest-objs := unittest.o unittest-data/testcases.dtb.o
1111
obj-$(CONFIG_OF_MDIO) += of_mdio.o
1212
obj-$(CONFIG_OF_PCI) += of_pci.o
1313
obj-$(CONFIG_OF_PCI_IRQ) += of_pci_irq.o
File renamed without changes.

0 commit comments

Comments
 (0)