From: Simon Glass Date: Fri, 6 Jul 2018 10:27:36 -0600 Subject: [U-Boot] [PATCH v2 23/29] test: Enable cover-coverage tests for dtoc and fdt In-Reply-To: <20180706162742.186950-1-sjg@chromium.org> References: <20180706162742.186950-1-sjg@chromium.org> Message-ID: <20180706162742.186950-24-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Now that we have 100% code coverage we can enable these tests in the test script also. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to enable cover-coverage tests for dtoc and fdt test/run | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/run b/test/run index 0b9188eaa8..d77a1c371b 100755 --- 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!" -- 2.18.0.203.gfac676dfb9-goog