test: Enable cover-coverage tests for dtoc and fdt
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>
This commit is contained in:
parent
8512ea2e35
commit
ef6f77a847
4
test/run
4
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!"
|
||||
|
Loading…
Reference in New Issue
Block a user