mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
u_boot_pylib: Correct case for test_result
This should be in capitals and defined at the start of the file. Update it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -303,7 +303,7 @@ class TestFunctional(unittest.TestCase):
|
||||
def setUp(self):
|
||||
# Enable this to turn on debugging output
|
||||
# tout.init(tout.DEBUG)
|
||||
command.test_result = None
|
||||
command.TEST_RESULT = None
|
||||
|
||||
def tearDown(self):
|
||||
"""Remove the temporary output directory"""
|
||||
@@ -780,11 +780,11 @@ class TestFunctional(unittest.TestCase):
|
||||
def testFullHelpInternal(self):
|
||||
"""Test that the full help is displayed with -H"""
|
||||
try:
|
||||
command.test_result = command.CommandResult()
|
||||
command.TEST_RESULT = command.CommandResult()
|
||||
result = self._DoBinman('-H')
|
||||
help_file = os.path.join(self._binman_dir, 'README.rst')
|
||||
finally:
|
||||
command.test_result = None
|
||||
command.TEST_RESULT = None
|
||||
|
||||
def testHelp(self):
|
||||
"""Test that the basic help is displayed with -h"""
|
||||
@@ -1872,7 +1872,7 @@ class TestFunctional(unittest.TestCase):
|
||||
|
||||
def testGbb(self):
|
||||
"""Test for the Chromium OS Google Binary Block"""
|
||||
command.test_result = self._HandleGbbCommand
|
||||
command.TEST_RESULT = self._HandleGbbCommand
|
||||
entry_args = {
|
||||
'keydir': 'devkeys',
|
||||
'bmpblk': 'bmpblk.bin',
|
||||
@@ -1941,7 +1941,7 @@ class TestFunctional(unittest.TestCase):
|
||||
def testVblock(self):
|
||||
"""Test for the Chromium OS Verified Boot Block"""
|
||||
self._hash_data = False
|
||||
command.test_result = self._HandleVblockCommand
|
||||
command.TEST_RESULT = self._HandleVblockCommand
|
||||
entry_args = {
|
||||
'keydir': 'devkeys',
|
||||
}
|
||||
@@ -1974,7 +1974,7 @@ class TestFunctional(unittest.TestCase):
|
||||
def testVblockContent(self):
|
||||
"""Test that the vblock signs the right data"""
|
||||
self._hash_data = True
|
||||
command.test_result = self._HandleVblockCommand
|
||||
command.TEST_RESULT = self._HandleVblockCommand
|
||||
entry_args = {
|
||||
'keydir': 'devkeys',
|
||||
}
|
||||
@@ -5496,7 +5496,7 @@ fdt fdtmap Extract the devicetree blob from the fdtmap
|
||||
|
||||
def testFitSubentryUsesBintool(self):
|
||||
"""Test that binman FIT subentries can use bintools"""
|
||||
command.test_result = self._HandleGbbCommand
|
||||
command.TEST_RESULT = self._HandleGbbCommand
|
||||
entry_args = {
|
||||
'keydir': 'devkeys',
|
||||
'bmpblk': 'bmpblk.bin',
|
||||
|
||||
Reference in New Issue
Block a user