diff options
author | Simon Glass | 2017-11-12 21:52:08 -0700 |
---|---|---|
committer | Simon Glass | 2017-11-22 18:05:38 -0700 |
commit | 680e3312c23b72142a767c91eb1d74d36e1094fe (patch) | |
tree | a887e9ca678d5c4e5b83930282e54ac483932d13 | |
parent | 00ebd1f74d94a0fa50545d59a4e61b3a28c82b07 (diff) |
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 <sjg@chromium.org>
-rwxr-xr-x | tools/binman/binman.py | 4 | ||||
-rw-r--r-- | tools/binman/ftest.py (renamed from tools/binman/func_test.py) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/binman.py b/tools/binman/binman.py index e75a59d9517..d264bcdfa8c 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 index c4207ce5d29..c4207ce5d29 100644 --- a/tools/binman/func_test.py +++ b/tools/binman/ftest.py |