From 680e3312c23b72142a767c91eb1d74d36e1094fe Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Sun, 12 Nov 2017 21:52:08 -0700
Subject: [PATCH] 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>
---
 tools/binman/binman.py                  | 4 ++--
 tools/binman/{func_test.py => ftest.py} | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename tools/binman/{func_test.py => ftest.py} (100%)

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
-- 
2.39.5