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 5616097..a12ea31 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