Commit 19fd7487 authored by Grant Likely's avatar Grant Likely

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: default avatarGrant Likely <grant.likely@linaro.org>
parent 851da976
...@@ -7,8 +7,8 @@ config OF ...@@ -7,8 +7,8 @@ config OF
menu "Device Tree and Open Firmware support" menu "Device Tree and Open Firmware support"
depends on OF depends on OF
config OF_SELFTEST config OF_UNITTEST
bool "Device Tree Runtime self tests" bool "Device Tree runtime unit tests"
depends on OF_IRQ && OF_EARLY_FLATTREE depends on OF_IRQ && OF_EARLY_FLATTREE
select OF_DYNAMIC select OF_DYNAMIC
select OF_RESOLVE select OF_RESOLVE
......
...@@ -6,8 +6,8 @@ obj-$(CONFIG_OF_PROMTREE) += pdt.o ...@@ -6,8 +6,8 @@ obj-$(CONFIG_OF_PROMTREE) += pdt.o
obj-$(CONFIG_OF_ADDRESS) += address.o obj-$(CONFIG_OF_ADDRESS) += address.o
obj-$(CONFIG_OF_IRQ) += irq.o obj-$(CONFIG_OF_IRQ) += irq.o
obj-$(CONFIG_OF_NET) += of_net.o obj-$(CONFIG_OF_NET) += of_net.o
obj-$(CONFIG_OF_SELFTEST) += of_selftest.o obj-$(CONFIG_OF_UNITTEST) += of_unittest.o
of_selftest-objs := selftest.o testcase-data/testcases.dtb.o of_unittest-objs := unittest.o unittest-data/testcases.dtb.o
obj-$(CONFIG_OF_MDIO) += of_mdio.o obj-$(CONFIG_OF_MDIO) += of_mdio.o
obj-$(CONFIG_OF_PCI) += of_pci.o obj-$(CONFIG_OF_PCI) += of_pci.o
obj-$(CONFIG_OF_PCI_IRQ) += of_pci_irq.o obj-$(CONFIG_OF_PCI_IRQ) += of_pci_irq.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment