From f30924739975b4f60c0862b539790fdcdb7da20c Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 10 Jul 2020 22:04:40 +0200 Subject: CI: show skipped Python tests Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by: Heinrich Schuchardt --- .azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.azure-pipelines.yml') diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 9f88a539c0..98e8a4fe14 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -316,7 +316,7 @@ jobs: export PATH=/opt/qemu/bin:/tmp/uboot-test-hooks/bin:${PATH}; export PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci; # "${var:+"-k $var"}" expands to "" if $var is empty, "-k $var" if not - ./test/py/test.py --bd ${TEST_PY_BD} ${TEST_PY_ID} ${TEST_PY_TEST_SPEC:+"-k ${TEST_PY_TEST_SPEC}"} --build-dir "$UBOOT_TRAVIS_BUILD_DIR"; + ./test/py/test.py -ra --bd ${TEST_PY_BD} ${TEST_PY_ID} ${TEST_PY_TEST_SPEC:+"-k ${TEST_PY_TEST_SPEC}"} --build-dir "$UBOOT_TRAVIS_BUILD_DIR"; # the below corresponds to .gitlab-ci.yml "after_script" rm -rf /tmp/uboot-test-hooks /tmp/venv EOF -- cgit