]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: Enable cover-coverage tests for dtoc and fdt
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jul 2018 16:27:36 +0000 (10:27 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Jul 2018 15:11:00 +0000 (09:11 -0600)
Now that we have 100% code coverage we can enable these tests in the test
script also.

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

index 0b9188eaa8eebfc8619696ec1e3f60b317915826..d77a1c371b44bbc3a15c890c33c274374b77b961 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -29,6 +29,10 @@ PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test ./tools/dtoc/dtoc -t
 #   $ sudo apt-get install python-pytest python-coverage
 PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test \
        ./tools/binman/binman -T
+PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test \
+       ./tools/dtoc/dtoc -T
+PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test \
+       ./tools/dtoc/test_fdt -T
 
 if [ $result == 0 ]; then
        echo "Tests passed!"