Skip to content

Commit

Permalink
of/unittest: Rename selftest.c to unittest.c
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
glikely committed Nov 4, 2014
1 parent 851da97 commit 19fd748
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/of/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ config OF
menu "Device Tree and Open Firmware support"
depends on OF

config OF_SELFTEST
bool "Device Tree Runtime self tests"
config OF_UNITTEST
bool "Device Tree runtime unit tests"
depends on OF_IRQ && OF_EARLY_FLATTREE
select OF_DYNAMIC
select OF_RESOLVE
Expand Down
4 changes: 2 additions & 2 deletions drivers/of/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ obj-$(CONFIG_OF_PROMTREE) += pdt.o
obj-$(CONFIG_OF_ADDRESS) += address.o
obj-$(CONFIG_OF_IRQ) += irq.o
obj-$(CONFIG_OF_NET) += of_net.o
obj-$(CONFIG_OF_SELFTEST) += of_selftest.o
of_selftest-objs := selftest.o testcase-data/testcases.dtb.o
obj-$(CONFIG_OF_UNITTEST) += of_unittest.o
of_unittest-objs := unittest.o unittest-data/testcases.dtb.o
obj-$(CONFIG_OF_MDIO) += of_mdio.o
obj-$(CONFIG_OF_PCI) += of_pci.o
obj-$(CONFIG_OF_PCI_IRQ) += of_pci_irq.o
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 19fd748

Please sign in to comment.