From: Simon Glass Date: Mon, 13 Nov 2017 04:52:08 +0000 (-0700) Subject: binman: Rename tests to ftest X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=680e3312c23b72142a767c91eb1d74d36e1094fe;p=u-boot.git binman: Rename tests to ftest 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 --- diff --git a/tools/binman/binman.py b/tools/binman/binman.py index e75a59d951..d264bcdfa8 100755 --- a/tools/binman/binman.py +++ b/tools/binman/binman.py @@ -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) diff --git a/tools/binman/func_test.py b/tools/binman/ftest.py similarity index 100% rename from tools/binman/func_test.py rename to tools/binman/ftest.py