1467614 [frontend] more robust ./run_tests.sh

Authored and Committed by praiskup 5 years ago
    [frontend] more robust ./run_tests.sh
    
    - reuse it in copr-frontend.spec
    - reuse './manage.py tests'
    - add --coverage option into manage.py
    - wait till redis shuts down
    - do 'set -e' to fail asap, and 'set -x' to see logs
    - install 'cleanup' trap to always kill redis
    - put copr_common on PYTHONPATH
    
    Fixes: #415
    
        
file modified
+1 -7
file modified
+15 -7