diff mbox series

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

Message ID 20171127032601.153849-3-sjg@chromium.org
State Accepted
Commit 72d8172be04ae66e52dc74caf57f8ee1b60efa03
Delegated to: Simon Glass
Headers show
Series test: Include Python tools in test coverage | expand

Commit Message

Simon Glass Nov. 27, 2017, 3:25 a.m. UTC
Update the test script to run the binman tests also.

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

Changes in v2:
- Adjust PYTHONPATH for new locations

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

Comments

Simon Glass Dec. 19, 2017, 1:18 p.m. UTC | #1
On 26 November 2017 at 20:25, Simon Glass <sjg@chromium.org> wrote:
> Update the test script to run the binman tests also.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> Changes in v2:
> - Adjust PYTHONPATH for new locations
>
>  test/run | 3 +++
>  1 file changed, 3 insertions(+)

Applied to u-boot-dm
diff mbox series

Patch

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