mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-26 08:31:28 +00:00
patman: Fix up the test comments
Many of the tests have the same comment and two have the same name. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a0558aca55
commit
4620d46bf0
1 changed files with 5 additions and 5 deletions
|
@ -373,19 +373,19 @@ index 0000000..2234c87
|
||||||
self.checkSingleMessage(pm, 'NEW_UCLASS')
|
self.checkSingleMessage(pm, 'NEW_UCLASS')
|
||||||
|
|
||||||
def testLivetree(self):
|
def testLivetree(self):
|
||||||
"""Test for Use the livetree API"""
|
"""Test for using the livetree API"""
|
||||||
pm = PatchMaker()
|
pm = PatchMaker()
|
||||||
pm.add_line('common/main.c', 'fdtdec_do_something()')
|
pm.add_line('common/main.c', 'fdtdec_do_something()')
|
||||||
self.checkSingleMessage(pm, 'LIVETREE')
|
self.checkSingleMessage(pm, 'LIVETREE')
|
||||||
|
|
||||||
def testNewCommand(self):
|
def testNewCommand(self):
|
||||||
"""Test for Use the livetree API"""
|
"""Test for adding a new command"""
|
||||||
pm = PatchMaker()
|
pm = PatchMaker()
|
||||||
pm.add_line('common/main.c', 'do_wibble(struct cmd_tbl *cmd_tbl)')
|
pm.add_line('common/main.c', 'do_wibble(struct cmd_tbl *cmd_tbl)')
|
||||||
self.checkSingleMessage(pm, 'CMD_TEST')
|
self.checkSingleMessage(pm, 'CMD_TEST')
|
||||||
|
|
||||||
def testNewCommand(self):
|
def testPreferIf(self):
|
||||||
"""Test for Use the livetree API"""
|
"""Test for using #ifdef"""
|
||||||
pm = PatchMaker()
|
pm = PatchMaker()
|
||||||
pm.add_line('common/main.c', '#ifdef CONFIG_YELLOW')
|
pm.add_line('common/main.c', '#ifdef CONFIG_YELLOW')
|
||||||
pm.add_line('common/init.h', '#ifdef CONFIG_YELLOW')
|
pm.add_line('common/init.h', '#ifdef CONFIG_YELLOW')
|
||||||
|
@ -393,7 +393,7 @@ index 0000000..2234c87
|
||||||
self.checkSingleMessage(pm, "PREFER_IF")
|
self.checkSingleMessage(pm, "PREFER_IF")
|
||||||
|
|
||||||
def testCommandUseDefconfig(self):
|
def testCommandUseDefconfig(self):
|
||||||
"""Test for Use the livetree API"""
|
"""Test for enabling/disabling commands using preprocesor"""
|
||||||
pm = PatchMaker()
|
pm = PatchMaker()
|
||||||
pm.add_line('common/main.c', '#undef CONFIG_CMD_WHICH')
|
pm.add_line('common/main.c', '#undef CONFIG_CMD_WHICH')
|
||||||
self.checkSingleMessage(pm, 'DEFINE_CONFIG_CMD', 'error')
|
self.checkSingleMessage(pm, 'DEFINE_CONFIG_CMD', 'error')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue