[U-Boot] [PATCH v2 2/7] test: Run binman tests

Simon Glass sjg at chromium.org
Mon Nov 27 03:25:56 UTC 2017


Update the test script to run the binman tests also.

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

Changes in v2:
- Adjust PYTHONPATH for new locations

 test/run | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/run b/test/run
index 56160977a3f..a12ea31bf23 100755
--- a/test/run
+++ b/test/run
@@ -17,6 +17,9 @@ run_test ./test/py/test.py --bd sandbox_spl --build -k \
 # Run tests for the flat DT version of sandbox
 ./test/py/test.py --bd sandbox_flattree --build
 
+PYTHONPATH=build-sandbox_spl/scripts/dtc/pylibfdt run_test \
+	./tools/binman/binman -t
+
 if [ $result == 0 ]; then
 	echo "Tests passed!"
 else
-- 
2.15.0.417.g466bffb3ac-goog



More information about the U-Boot mailing list