]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
test: Run binman tests
authorSimon Glass <sjg@chromium.org>
Mon, 27 Nov 2017 03:25:56 +0000 (20:25 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 16 Jan 2018 01:29:21 +0000 (18:29 -0700)
Update the test script to run the binman tests also.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/run

index 56160977a3f0c56a3e289b36a9d870acc9b8b4e2..a12ea31bf2306d9bb7cfa4c04e98e1dadd64f1a7 100755 (executable)
--- 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