1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
#!/bin/bash set -ex {build_and_result_path_logic} cd "$BUILD_DIR" export DISPLAY=:0 # A project could have its own runtests script that also generates coverage reports if test -e "$WORK_DIR/runtests.sh"; then $WORK_DIR/runtests.sh else make check make qmluitests fi find . -name '*test*.xml' -exec cp '{{}}' "$RESULT_DIR" \; find . -name 'coverage*.xml' -exec cp '{{}}' "$RESULT_DIR" \; |