]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
binman: Rename tests to ftest
authorSimon Glass <sjg@chromium.org>
Mon, 13 Nov 2017 04:52:08 +0000 (21:52 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 23 Nov 2017 01:05:38 +0000 (18:05 -0700)
At present these tests use the same filename as patman. This adds
confusion when running all tests, since error messages look very similar.
In fact binman tries to run the wrong tests at present.

Rename the tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.py
tools/binman/ftest.py [moved from tools/binman/func_test.py with 100% similarity]

index e75a59d9517d23304a6b7fd7f9c680ad659a7d5e..d264bcdfa8ce819bc87b5b0f8a08e8b9102bc38a 100755 (executable)
@@ -34,7 +34,7 @@ def RunTests():
     """Run the functional tests and any embedded doctests"""
     import entry_test
     import fdt_test
-    import func_test
+    import ftest
     import test
     import doctest
 
@@ -44,7 +44,7 @@ def RunTests():
         suite.run(result)
 
     sys.argv = [sys.argv[0]]
-    for module in (func_test.TestFunctional, fdt_test.TestFdt,
+    for module in (ftest.TestFunctional, fdt_test.TestFdt,
                    entry_test.TestEntry):
         suite = unittest.TestLoader().loadTestsFromTestCase(module)
         suite.run(result)