dak-coverage.sh 251 B

1234567891011
  1. #!/bin/bash
  2. # wrapper to collect coverage info when running dak
  3. if [ "$RUN_COVERAGE" = "y" ]
  4. then
  5. exec python-coverage run --rcfile "${DAK_ROOT}/.coveragerc" --parallel-mode "${DAK_ROOT}/dak/dak.py" "$@"
  6. else
  7. exec "${DAK_ROOT}/dak/dak.py" "$@"
  8. fi