5 [ $? -ne 0 ] && result=$((result+1))
10 # Run all tests that the standard sandbox build can support
11 run_test ./test/py/test.py --bd sandbox --build
13 # Run tests which require sandbox_spl
14 run_test ./test/py/test.py --bd sandbox_spl --build -k test_ofplatdata.py
16 # Run tests for the flat DT version of sandbox
17 ./test/py/test.py --bd sandbox_flattree --build
19 DTC_DIR=build-sandbox_spl/scripts/dtc
21 PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test \
22 ./tools/binman/binman -t
23 run_test ./tools/patman/patman --test
24 run_test ./tools/buildman/buildman -t
25 PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test ./tools/dtoc/dtoc -t
27 # This needs you to set up Python test coverage tools.
28 # To enable Python test coverage on Debian-type distributions (e.g. Ubuntu):
29 # $ sudo apt-get install python-pytest python-coverage
30 PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test \
31 ./tools/binman/binman -T
32 PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test \
34 PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test \
35 ./tools/dtoc/test_fdt -T
37 if [ $result == 0 ]; then