[U-Boot] [PATCH 19/26] binman: Add a comment about CBFS test structure

Simon Glass sjg at chromium.org
Tue Jul 2 00:24:48 UTC 2019


Most of the CBFS functionality is tested by cbfs_util rather than the
binman functional tests. Add a comment to that effect.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/ftest.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
index b1dc1643011..bee4feb1c3a 100644
--- a/tools/binman/ftest.py
+++ b/tools/binman/ftest.py
@@ -2003,7 +2003,11 @@ class TestFunctional(unittest.TestCase):
                       str(e.exception))
 
     def testCbfsOffset(self):
-        """Test a CBFS with files at particular offsets"""
+        """Test a CBFS with files at particular offsets
+
+        Like all CFBS tests, this is just checking the logic that calls
+        cbfs_util. See cbfs_util_test for fully tests (e.g. test_cbfs_offset()).
+        """
         data = self._DoReadFile('114_cbfs_offset.dts')
         size = 0x200
 
-- 
2.22.0.410.gd8fdbe21b5-goog



More information about the U-Boot mailing list